From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: [commit] Rename frame_pc_unwind and frame_unwind_id
Date: Tue, 15 Jul 2008 23:29:00 -0000 [thread overview]
Message-ID: <20080715232853.GA23500@caradoc.them.org> (raw)
In-Reply-To: <200807152241.m6FMfCFC008363@brahms.sibelius.xs4all.nl>
On Wed, Jul 16, 2008 at 12:41:12AM +0200, Mark Kettenis wrote:
> If it's easy for you to back it out, I'd appreciate it. I really
> don't think the new names are an improvement, and they are longer
> makeing the code slightly less readable...
No trouble, so I backed it out.
They're not an improvement in the current case; without the
distinction between inlined and non-inlined frames, there's no need to
distinguish. They only make sense in the context of inlined frames...
> > I'm interested in your comments (about this patch or the larger one).
>
> ...but my main concern is that this diff and the larger one change the
> meaning of a frame. It seems it gets us further away of what I
> consider to be frame. Please give me a day or so to study the diff a
> bit more, before I give a more detailed reaction.
... which brings us over here. Thanks for looking at it - I really
appreciate it!
I tried a couple of approaches when I was putting this together, and
frankly, I couldn't find any sensible way to not put the inlined
functions into the normal frame chain. They have to be frames, or
else everything that looks at a frame has to look at some other
object; we need them most places that we have a frame. If they're not
in the frame chain, then all the obvious uses of get_prev_frame /
get_next_frame have questionable semantics.
I've already ripped out the ugliest bits of the frame design in my
most recent reworking of this patch; I couldn't see how to get rid of
them the first time but a year later it was clear. So maybe another
perspective will be able to clean this up further. Let me know if you
have any questions on the patch; I don't have time right now to write
as much internals documentation for it as I'd like, but I'll explain
any bit that isn't clear.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2008-07-15 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 19:01 Daniel Jacobowitz
2008-07-15 19:09 ` Mark Kettenis
2008-07-15 19:22 ` Daniel Jacobowitz
2008-07-15 22:41 ` Mark Kettenis
2008-07-15 23:29 ` Daniel Jacobowitz [this message]
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=20080715232853.GA23500@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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