From: Daniel Jacobowitz <drow@mvista.com>
To: "Manoj Verma, Noida" <manojv@noida.hcltech.com>
Cc: gdb@sources.redhat.com, "Amit S. Kale" <amitkale@emsyssoft.com>
Subject: Re: Access ARM BANKED registers
Date: Tue, 23 Dec 2003 15:00:00 -0000 [thread overview]
Message-ID: <20031223150038.GA21228@nevyn.them.org> (raw)
In-Reply-To: <1B3885BC15C7024C845AAC78314766C501D72918@exch-01.noida.hcltech.com>
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
prev parent reply other threads:[~2003-12-23 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-23 12:51 Manoj Verma, Noida
2003-12-23 15:00 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031223150038.GA21228@nevyn.them.org \
--to=drow@mvista.com \
--cc=amitkale@emsyssoft.com \
--cc=gdb@sources.redhat.com \
--cc=manojv@noida.hcltech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox