Access ARM BANKED registers
Daniel Jacobowitz
drow@mvista.com
Tue Dec 23 15:00:00 GMT 2003
On Tue, Dec 23, 2003 at 05:02:50PM +0530, Manoj Verma, Noida wrote:
> 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?
The current GDB protocol used for ARM doesn't support those registers.
You'd probably want to add support for p/P packet register fetches and
query them that way.
Note that the current GDB _client_ doesn't support them either.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list