[commit] Don't call deprecated_inside_entry_file from ...id_unwind()
Andrew Cagney
ac131313@redhat.com
Sat Nov 1 00:00:00 GMT 2003
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.
committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031101/975f08ef/attachment.ksh>
More information about the Gdb-patches
mailing list