From: Paul Schlie <schlie@comcast.net>
To: Daniel Jacobowitz <drow@false.org>, <gdb@sourceware.org>
Subject: RE: Available registers as a target property
Date: Fri, 06 May 2005 22:46:00 -0000 [thread overview]
Message-ID: <BEA16C0E.A11F%schlie@comcast.net> (raw)
> Daniel Jacobowitz wrote:
> ...
> Today, the contents of the register cache and the layout of GDB's regnum
> space are determined by the gdbarch. There are several hooks for this,
> primarily these three:
>
> num_regs
> register_name
> register_type
>
> The gdbarch determines what raw registers are available. But this isn't a
> perfect match with what raw registers are _really_ available, because the
> gdbarch only has the clues we use to select a gdbarch available: things like
> byte order and BFD machine number. At best, those tell us what registers
> the binary we're debugging requires. The runtime set of registers we can
> see are a property of the target, not of the gdbarch.
> ...
Might it be more appropriate to enable gdbarch to be extended to enable the
more specific description of a particular target component and mode; as
opposed to pushing the requirement of a target to provide detailed register
etc. information about itself when all that should be necessary should be
for it to more specifically identify itself and present mode if any, thereby
enabling a correspondingly more precise gdbarch description to be selected
as the basis of it's logically visible model?
next reply other threads:[~2005-05-06 22:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-06 22:46 Paul Schlie [this message]
2005-05-06 23:27 ` Daniel Jacobowitz
2005-05-07 0:56 ` Paul Schlie
2005-05-07 1:36 ` Daniel Jacobowitz
2005-05-07 3:49 ` Paul Schlie
2005-05-07 4:30 ` Daniel Jacobowitz
2005-05-07 4:54 ` Paul Schlie
2005-05-07 5:41 ` Daniel Jacobowitz
2005-05-07 15:19 ` Paul Schlie
2005-05-07 19:26 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2005-05-06 17:55 Decker, Paul
2005-05-06 20:59 ` Daniel Jacobowitz
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=BEA16C0E.A11F%schlie@comcast.net \
--to=schlie@comcast.net \
--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