From: Mark Kettenis <kettenis@chello.nl>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch rfc] Revamp REGISTER_TO_VALUE et.al.
Date: Fri, 13 Jun 2003 19:12:00 -0000 [thread overview]
Message-ID: <86he6tzta9.fsf@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: Daniel Jacobowitz's message of "Fri, 13 Jun 2003 12:09:54 -0400"
Daniel Jacobowitz <drow@mvista.com> writes:
> On Fri, Jun 13, 2003 at 12:03:23PM -0400, Andrew Cagney wrote:
> > Hello,
> >
> > This is the final revamped REGISTER_TO_VALUE patch.
> >
> > It adds a frame to REGISTER_TO_VALUE and VALUE_TO_REGISTER making them
> > responsible for fetching/storing the value's raw buffer.
> >
> > It also adds a type parameter to CONVERT_REGISTER_P so that it can
> > better filter what should be converted.
> >
> > I'll look to commit in a few days, doco to follow.
> >
> > Did anyone have better test cases?
>
> I haven't checked, but gdb/214 might do...
I'm not sure whether the sample code in gdb/214 has anything to add to
the stuff that's already tested by gdb.base/store.exp. It suffers
from the same problem as those test in that it is highly dependent on
the compiler you use whether a variable is stored in a register or
not. The only really reliable test I can imagine is hand-coded
assembler :-(.
Mark
next prev parent reply other threads:[~2003-06-13 19:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-13 16:03 Andrew Cagney
2003-06-13 16:10 ` Daniel Jacobowitz
2003-06-13 19:12 ` Mark Kettenis [this message]
2003-06-14 22:44 ` Andrew Cagney
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=86he6tzta9.fsf@elgar.kettenis.dyndns.org \
--to=kettenis@chello.nl \
--cc=drow@mvista.com \
--cc=gdb-patches@sources.redhat.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