From: Daniel Jacobowitz <drow@false.org>
To: Robert Norton <rnorton@broadcom.com>
Cc: gdb@sourceware.org
Subject: Re: Target Dependent Backtrace Termination
Date: Tue, 12 Jun 2007 11:22:00 -0000 [thread overview]
Message-ID: <20070612112221.GC29495@caradoc.them.org> (raw)
In-Reply-To: <B0D822BFECD50F4991F2516EA50F273C01B3565A@NT-IRVA-0752.brcm.ad.broadcom.com>
On Tue, Jun 12, 2007 at 02:23:11AM -0700, Robert Norton wrote:
> to go one too far! Looking at some other ports it seems that the
> solution is to return the null frame id for the outermost frame thus
> causing get_prev_frame_1 to return null and terminating the backtrace.
Right.
> But this means that the outermost frame doesn't haven't a valid frame
> id! Won't this cause problems? Am I missing something rather
> fundamental?
Also right. We've been talking on and off about changing this, so
that an unwinder can indicate "this is marked as the last frame"
separately from "I don't know what this frame's ID is". If we manage
to do that, I hope we can require all frames to have a valid ID.
No one's done it yet, though.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-06-12 11:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 9:23 Robert Norton
2007-06-12 11:22 ` Daniel Jacobowitz [this message]
2007-06-12 11:57 ` Robert Norton
2007-06-12 12:05 ` 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=20070612112221.GC29495@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=rnorton@broadcom.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