Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Paul Schlie <schlie@comcast.net>
Cc: gdb@sourceware.org
Subject: Re: Available registers as a target property
Date: Sat, 07 May 2005 01:36:00 -0000	[thread overview]
Message-ID: <20050507013640.GA26032@nevyn.them.org> (raw)
In-Reply-To: <BEA18A5F.A129%schlie@comcast.net>

On Fri, May 06, 2005 at 08:55:59PM -0400, Paul Schlie wrote:
> My sense is that the fundamental difference is where the information is
> described/contained, and how the choice of which description to use is
> conveyed to the GDB.  Although I may misunderstand, it seems more consistent
> to enable GDB to select which of N register models to assume based upon the
> target's identification, than requiring the target to supply a detailed
> description of it's own register model; thereby not requiring any otherwise
> unnecessary complexity be added to the target's GDB server implementation?

The proposal supports both.  This is the difference between
register/feature sets and individual registers.

All hardware does not fit into nice models that GDB can know about.  A
synthesized ARM core, for instance, can have arbitrary proprietary
coprocessors on it, designed by whoever synthesized the design.  Or
even in ia32 land, the set of MSRs available varies wildly, and it is
not GDB's business to track that level of details about every
x86-compatible processor ever made.

Maintaining a central registry of all register configurations is not
practical.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-05-07  1:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-06 22:46 Paul Schlie
2005-05-06 23:27 ` Daniel Jacobowitz
2005-05-07  0:56   ` Paul Schlie
2005-05-07  1:36     ` Daniel Jacobowitz [this message]
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=20050507013640.GA26032@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=schlie@comcast.net \
    /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