From: Joel Brobecker <brobecker@adacore.com>
To: gdb@sourceware.org, Mark Kettenis <kettenis@gnu.org>
Subject: Re: [RFC] Using values to handle unwinding
Date: Fri, 19 Oct 2007 04:30:00 -0000 [thread overview]
Message-ID: <20071019042951.GA6168@adacore.com> (raw)
In-Reply-To: <20071017160350.GA26804@caradoc.them.org>
> - Uses GDB's value infrastructure. Values carry around the
> location information which previously took four extra arguments
> to every unwinder. And this lets us use our existing value
> manipulation routines as necessary.
I really like this part. It looks very elegant to me.
> - Simplifies getting other registers from the PREV frame.
This idea was under discussion on gdb-patches. I said it looked like
a good idea, but Mark expressed some concerns (to which I think you
tried to answer).
> This patch leaves the existing prev_register method. If we want to
> adopt this new approach then I would recommend not doing that at all:
> just change the type of the prev_register field, break all targets
> until they are updated, and fix them. We can do it on a branch and
> merge the whole branch at once, or do it quickly in HEAD. Converting
> the DWARF-2 reader took me only an hour or two, which included writing
> the helper routines.
I don't mind breaking all the targets if this is the way we want
to do it. But either way, whether we use a branch or not, I'd like
us to break the target by breaking the build. This way, managing to
build again means we're done with the conversion.
If I understand the patch correctly, this is going to be the case,
right? You're removing some old routines, and replacing with a
new one that has a different name.
--
Joel
next prev parent reply other threads:[~2007-10-19 4:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 16:04 Daniel Jacobowitz
2007-10-17 22:09 ` Daniel Jacobowitz
2007-10-19 11:42 ` Ulrich Weigand
2007-10-19 11:49 ` Daniel Jacobowitz
2007-10-19 4:30 ` Joel Brobecker [this message]
2007-10-19 11:43 ` Daniel Jacobowitz
2007-10-19 12:10 ` Ulrich Weigand
2007-10-19 12:40 ` Daniel Jacobowitz
2008-03-31 23:41 ` Daniel Jacobowitz
2008-04-04 17:53 ` Joel Brobecker
2008-04-05 15:56 ` 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=20071019042951.GA6168@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=kettenis@gnu.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