Odd "other" command behavior
Grant Edwards
grante@visi.com
Thu Sep 14 07:43:00 GMT 2000
Under arm-elf-gdb (with RDI target) the "other" command doesn't
do anything the first time it is used:
Current language: auto; currently asm
(gdb) info reg
a1 0x3ff3010 67055632
a2 0x1503032 22032434
...
(gdb) other
(gdb) info reg
a1 0x3ff3010 67055632
a2 0x1503032 22032434
...
(gdb) other
(gdb) info reg
r0 0x3ff3010 67055632
r1 0x1503032 22032434
...
I'm not really sure where to look for the problem, and I'm
wondering if this behavior is specific to ARM or do other
architectures do the same thing? (I'm assuming it's not a
target-dependent problem, but I thought it may be
architecture-dependent.) Though it's a completely harmless bug
with a simple work-around (just throw an extra "other" in
.gdbinit), I'd like to fix it.
--
Grant Edwards
grante@visi.com
More information about the Gdb
mailing list