From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [commit] Don't call deprecated_inside_entry_file from ...id_unwind()
Date: Sat, 01 Nov 2003 00:44:00 -0000 [thread overview]
Message-ID: <20031101004443.GB11987@nevyn.them.org> (raw)
In-Reply-To: <3FA2F789.5000306@redhat.com>
On Fri, Oct 31, 2003 at 07:00:09PM -0500, Andrew Cagney wrote:
> Hello,
>
> Sometime ago, while developing the frame unwind code using the d10v, I
> added an innocent looking hack that stopped the d10v falling off the end
> of its stack:
>
> - /* This is meant to halt the backtrace at "_start". Make sure we
> - don't halt it at a generic dummy frame. */
> - if (func <= IMEM_START || inside_entry_file (func))
> - return;
>
> That logic being lifed from even older frame chain code.
>
> I then later fixed the underlying problem (inside_main_func was broken),
> but forgot to remove that hack.
>
> Oops!
>
> That innocent looking code as quitely spread to at least 4 other
> architectures (there was no comment saying "hey you don't need this").
>
> Anyway, the attached patch removes all occurance of the hack.
Are you certain that none of those other architectures needed the hack
anyway?
Also, snce GDB does support backtracing when main isn't even in the
equation, I don't think we should break that unless the check is
actually harmful.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-11-01 0:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-01 0:00 Andrew Cagney
2003-11-01 0:44 ` Daniel Jacobowitz [this message]
2003-11-01 2:02 ` Andrew Cagney
2003-11-02 4:17 ` 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=20031101004443.GB11987@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb-patches@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