From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [rfc] Tighten meaning of gdbarch_convert_register_p
Date: Fri, 19 Oct 2007 04:19:00 -0000 [thread overview]
Message-ID: <20071019041209.GA6180@adacore.com> (raw)
In-Reply-To: <20071017140308.GA15513@caradoc.them.org>
Note to the other maintainers:
I feel I need to say this once, and then I'll stop saying it. I'm
trying to help more in the design decisions, but I still have a long
way to go. My goal right now is to look at as many design discussions
as time allows me, and try to think about it. For a little while, if it
touches areas I've never really worked on, chances are I won't have much
to say about it. Nonetheless, I think that it is still helpful to say
that I have looked at it and saw nothing wrong with it. I'll probably
get burnt a number of times, but I'll learn, and hopefully you'll
appreciate the fact that someone looked at your work, and thought it
looked good. Just take my comments with a grain of salt for now ;-).
> This patch tightens the definition of gdbarch_convert_register_p so
> that a non-zero result means that a conversion is necessary for the
> supplied TYPE, not just that one might be necessary for some type.
> This let me add an assertion that gdbarch_register_convert_p was
> zero for any unwound register values in the new value-based unwinding
> that I wrote yesterday.
[...]
>
> What do you think?
This looks like a good idea to me - I can see how this simplifies
a bit your other patch (using values in unwind). It complicates a bit
gdbarch_register_convert_p, but really not all that much, and it should
simplify the conversion methods in return.
--
Joel
next prev parent reply other threads:[~2007-10-19 4:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 18:32 Daniel Jacobowitz
2007-10-19 4:19 ` Joel Brobecker [this message]
2007-10-24 20:41 ` 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=20071019041209.GA6180@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@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