Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Access ARM BANKED registers
@ 2003-12-23 12:51 Manoj Verma, Noida
  2003-12-23 15:00 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Manoj Verma, Noida @ 2003-12-23 12:51 UTC (permalink / raw)
  To: gdb; +Cc: Amit S. Kale

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Access ARM BANKED registers
  2003-12-23 12:51 Access ARM BANKED registers Manoj Verma, Noida
@ 2003-12-23 15:00 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-12-23 15:00 UTC (permalink / raw)
  To: Manoj Verma, Noida; +Cc: gdb, Amit S. Kale

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-23 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-23 12:51 Access ARM BANKED registers Manoj Verma, Noida
2003-12-23 15:00 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox