This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Odd "other" command behavior
- To: gdb at sources dot redhat dot com
- Subject: Odd "other" command behavior
- From: Grant Edwards <grante at visi dot com>
- Date: Thu, 14 Sep 2000 09:44:52 -0500
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