[gnu.gdb.bug] shell, i registers don't work

ds@hollin.prime.com (07/13/89)

To:     gnu.gdb.bug
From:   David Spector (ds@primerd.prime.com)
Subj:   gdb bug reports
Date:   Wed Jul 12, 1989

We just installed gdb on our Sun3/50 (68000-based) network.  In doing initial
experimentation, I've found the following two minor problems.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Problem #1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The "shell" gdb command appears not to work:

Command 3: gdb
(gdb) shell echo ok
crt0: /usr/lib/ld.so mapping failure
(gdb) !date
crt0: /usr/lib/ld.so mapping failure

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Problem #2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The "info registers" gdb command appears to work but cause a crash:

(gdb) i registers
Reg	Contents

d0	0
d1	0
d2	0x00000001  1
d3	0
d4	0x00000004  4
d5	0
d6	0x00000002  2
d7	0x00000005  5
a0	0x0ed2979c  248682396
a1	0x0efffcf4  251657460
a2	0
a3	0x0efffde0  251657696
a4	0x0ed297e4  248682468
a5	0x0ed2805c  248676444
fp	0x0efffd34  251657524
sp	0x0efffc38  251657272
--Type Return to print more--
ps	0
pc	0x0ec5c4dc  247842012
Emulator trap (core dumped)
Command 6: