From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sources.redhat.com, Roland McGrath <roland@redhat.com>
Subject: Re: Identifying bottom-of-stack
Date: Wed, 04 Aug 2004 18:31:00 -0000 [thread overview]
Message-ID: <41112B56.3020304@gnu.org> (raw)
In-Reply-To: <20040804180151.GA20029@nevyn.them.org>
>>>This would make debugging in the outermost frame quite annoying,
>>>> >wouldn't it? We won't be able to find any frame relative variables.
>>
>>>
>>> Why? Frame relative variables us DW_AT_frame_base.
>
>
> You're right. I still have the nagging feeling there's some other
> reason it matters, but since I can't think of specifics I'm probably
> just hallucinating again.
Two things that might help:
- dwarf2-frame incorrectly returns the CFA as the ``frame_base''. Other
stuff means that the value isn't used (well except for info frame).
- this relies on GDB permitting an unwind into, but not past, a frame
with a NULL ID. The old code would have stopped things one frame short.
Andrew
next prev parent reply other threads:[~2004-08-04 18:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 16:01 Andrew Cagney
2004-08-04 17:17 ` Daniel Jacobowitz
2004-08-04 18:12 ` Andrew Cagney
2004-08-04 18:03 ` Daniel Jacobowitz
2004-08-04 18:31 ` Andrew Cagney [this message]
2004-08-04 19:02 ` Roland McGrath
2004-08-05 9:42 ` Mark Kettenis
2004-08-05 13:03 ` Andrew Cagney
2004-08-05 20:18 ` Roland McGrath
2004-08-11 17:51 ` 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=41112B56.3020304@gnu.org \
--to=cagney@gnu.org \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=roland@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