From: Daniel Jacobowitz <drow@mvista.com>
To: Kris Warkentin <kewarken@qnx.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdb/regformats
Date: Sun, 13 Apr 2003 14:23:00 -0000 [thread overview]
Message-ID: <20030413142310.GA20680@nevyn.them.org> (raw)
In-Reply-To: <03ca01c3003b$f334a550$0202040a@catdog>
On Fri, Apr 11, 2003 at 11:06:37AM -0400, Kris Warkentin wrote:
> I was looking at this directory and wondering what it's used for. I see
> that gdbserver uses the reg definitions but I didn't see if/how gdb does.
>
> The reason is that our OS stores its i386 general purpose registers in a
> different order than gdb does so in our tdep file we have to map them. I
> was wondering if the regformats file might provide a more elegant way of
> doing it.
Not really. They are descriptions of the remote protocol; only
gdbserver uses them at the moment but long-term that may change, as
Andrew said. They are not meant to describe the OS's register buffer,
only GDB's.
The long term goal, if anyone has time to pursue it, is to make the
remote protocol independent of the layout of GDB's register cache.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-04-13 14:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-11 15:06 gdb/regformats Kris Warkentin
2003-04-11 15:41 ` gdb/regformats Andrew Cagney
2003-04-11 15:45 ` gdb/regformats Quality Quorum
2003-04-11 15:57 ` gdb/regformats Kris Warkentin
2003-04-13 14:23 ` 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=20030413142310.GA20680@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=kewarken@qnx.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