This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Access ARM BANKED registers
- From: "Manoj Verma, Noida" <manojv at noida dot hcltech dot com>
- To: gdb at sources dot redhat dot com
- Cc: "Amit S. Kale" <amitkale at emsyssoft dot com>
- Date: Tue, 23 Dec 2003 17:02:50 +0530
- Subject: Access ARM BANKED registers
Hi,
I am doing remote debugging using GDB Server running on ARM based target.
My HOST is a i386 based Linux box.
When I say:
(gdb) mt packet g
The reply is :
01000000e4fdffbfecfdffbf43000000e4fdffbf040f02405c82000001000000a0830000ec77
1340607e1340c8fdffbfccfdffbfb4fdffbf50140440c0830000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000010000060
which I think maps to:
{"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 question is:
If I were to access the BANKED registers (like R8_fiq, R14_abt etc..) of
ARM, will the existing GDB Server architecture would suffice my need? Or in
other words, How can I achieve this?
Thanks,
Manoj