From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: `chain-frame'
Date: Thu, 09 Jan 2003 03:12:00 -0000 [thread overview]
Message-ID: <20030109031217.GA10222@nevyn.them.org> (raw)
In-Reply-To: <3E1CE724.2090401@redhat.com>
On Wed, Jan 08, 2003 at 10:06:12PM -0500, Andrew Cagney wrote:
> >I'm trying, but I still don't quite see how you're laying this out.
> >All help welcomed! Maybe I should look over your WIP again; has it
> >changed since you last posted it?
>
> It's changed. I'm going to cut a branch.
>
> >regcache-frame (regs-frame?):
> >>A frame that maps directly onto the register cache.
> >
> >
> >Doesn't unwind, since we're at the top.
>
> Nope! At the bottom, and it does unwind.
>
> This unwinds to the ``inner most frame''. Instead of calling
> create_new_frame(), get_current_frame() creates this frame and then
> unwinds it.
Oh, er. Right, I should have understood that by now. Thank you.
> Another name for this one is:
>
> sentinal-frame
>
> since it acts as the sentinal one beyond the inner most frame.
Great. (Sentinel btw).
> >fake-frame (?):
> >>Recently discussed, would also use dwarf2cfi but with fake debug
> >>information.
> >
> >
> >Unwinds using the CFI reader and fake DWARF-2 CFI information. Someday
> >maybe have a more generalized "unwind language"; that's my hope,
> >anyway. So we don't have to encode and decode the CFI gunk.
>
> Yes, and Yes. The later can just plug in.
>
> >And the other group of frames just use the current frame chain code,
> >and poke at the stack to find the saved registers; maybe
> >"stack-chain-frame"?
>
> Oops, yes. Just:
>
> chain-frame:
>
> though I think.
This'll require playing around with my vocabulary a little to get used
to it, but I can buy it. The general action is "unwinding"; looking
for the "chain" is one mechanism. I like it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-01-09 3:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 2:11 `chain-frame' Andrew Cagney
2003-01-09 2:38 ` `chain-frame' Daniel Jacobowitz
2003-01-09 3:06 ` `chain-frame' Andrew Cagney
2003-01-09 3:12 ` Daniel Jacobowitz [this message]
2003-01-09 16:04 ` `chain-frame' Andrew Cagney
2003-01-10 15:47 ` `chain-frame' Andrew Cagney
2003-01-10 15:52 ` `chain-frame' Daniel Jacobowitz
2003-01-10 16:18 ` `chain-frame' Andrew Cagney
2003-01-10 16:21 ` `chain-frame' Daniel Jacobowitz
2003-01-10 18:40 ` `chain-frame' 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=20030109031217.GA10222@nevyn.them.org \
--to=drow@mvista.com \
--cc=ac131313@redhat.com \
--cc=gdb@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