ARM: where are special registers?

Dmitry Smirnov
2008-07-08T09:08:16Z

Hi,

As you know, ARM processor have some special registers like CPSR, SPSR_svc, r8_usr, etc.
While running GDB I cannot see these registers (CPSR only).
My GDB is connected to remote ARM simulator, so maybe the simulator is the problem area?

Just as an example, session of Eclipse debugger:

248-data-list-register-names
248^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","sp","lr","pc","f0","f1","f2","f3","f4","f5","f6","f7","fps","cpsr","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]

My GDB is
GNU gdb (GDB) 6.8.50.20080630
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf".

Dmitry