I'm using J-link gdb server with a ARM11 chip. I can print the registers with monitor regs but when i try to read/write a specific register it fails with the error "Unknown register". J-Link commander is able to set PC fine and everything else works fine in gdb server. Can anyone help out?
Here is a sample of what is happening on both 4.00a and 4.01a
(gdb) monitor reg pc
Unsupported register !
(gdb) monitor reg r0
Unsupported register !
(gdb) monitor regs
PC = 1FFFFFD0, CPSR = 000001D3 (SVC mode, ARM FIQ dis. IRQ dis.)
R0 = 00000000, R1 = 001100D0, R2 = 2C202040, R3 = 00100008
R4 = 81A84980, R5 = 00103810, R6 = 040B1081, R7 = 40000600
USR: R8 =2C101944, R9 =00521820, R10=90000240, R11 =88002008, R12 =48002118
R13=21600209, R14=B8184004
FIQ: R8 =90080018, R9 =8A4A0002, R10=6A101220, R11 =01000024, R12 =00300950
R13=08B20829, R14=08802040, SPSR=00000010
SVC: R13=08AC0240, R14=41130000, SPSR=00000010
ABT: R13=28000182, R14=60230050, SPSR=00000010
IRQ: R13=24080020, R14=05101011, SPSR=00000010
UND: R13=49209010, R14=1F105694, SPSR=000001DB
Here is a sample of what is happening on both 4.00a and 4.01a
(gdb) monitor reg pc
Unsupported register !
(gdb) monitor reg r0
Unsupported register !
(gdb) monitor regs
PC = 1FFFFFD0, CPSR = 000001D3 (SVC mode, ARM FIQ dis. IRQ dis.)
R0 = 00000000, R1 = 001100D0, R2 = 2C202040, R3 = 00100008
R4 = 81A84980, R5 = 00103810, R6 = 040B1081, R7 = 40000600
USR: R8 =2C101944, R9 =00521820, R10=90000240, R11 =88002008, R12 =48002118
R13=21600209, R14=B8184004
FIQ: R8 =90080018, R9 =8A4A0002, R10=6A101220, R11 =01000024, R12 =00300950
R13=08B20829, R14=08802040, SPSR=00000010
SVC: R13=08AC0240, R14=41130000, SPSR=00000010
ABT: R13=28000182, R14=60230050, SPSR=00000010
IRQ: R13=24080020, R14=05101011, SPSR=00000010
UND: R13=49209010, R14=1F105694, SPSR=000001DB
The post was edited 1 time, last by cmw ().