From: Jan Kiszka <jan.kiszka@web.de>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: Towards better x86 system debugging support
Date: Mon, 05 Jan 2009 09:36:00 -0000 [thread overview]
Message-ID: <4961D487.1030707@web.de> (raw)
In-Reply-To: <20090105034419.GA20581@caradoc.them.org>
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Daniel Jacobowitz wrote:
> On Sun, Jan 04, 2009 at 02:34:00PM +0100, Jan Kiszka wrote:
>> The question for me is how to extend the protocol precisely. I guess we
>> need some new qSupported feature. But should we then, if both sides
>> agreed on it, switch to a completely new register set or rather exchange
>> those additional registers separately, ie. via some new packet?
>
> No new feature required. Take a look at the description of
> target-described registers in the current manual; we'd just need
> a naming convention for the x86 control registers of interest to GDB.
> That solves your other issue too about width.
Ah, of course, once again forgot about this.
So another convention would be that a target capable of up to 32 bit
mode would report its registers as 32 bit and a 64 bit target as 64 bit
- and they would transfer this width _independent_ of the current mode.
That leads me to the questions:
o Roughly, what code changes are required to exchange some i386.xml or
x86-64.xml?
o If gdb accepted such a static XML description from some x86 target,
would it already stick with the register layout even when setting the
arch manually (or later automatically)?
Thanks,
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-01-05 9:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-04 13:34 Jan Kiszka
2009-01-05 3:44 ` Daniel Jacobowitz
2009-01-05 8:52 ` GDB MI and actual type of a pointer or reference Elmenthaler, Jens
2009-01-05 9:36 ` Jan Kiszka [this message]
2009-01-06 15:14 ` Towards better x86 system debugging support Daniel Jacobowitz
2009-01-05 20:20 ` Mark Kettenis
2009-01-06 12:13 ` Jan Kiszka
2009-05-29 19:20 ` Samuel Bronson
2009-05-31 9:36 ` Jan Kiszka
2009-01-06 23:59 ` Doug Evans
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=4961D487.1030707@web.de \
--to=jan.kiszka@web.de \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
/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