This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Odd "other" command behavior



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
   

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]