[PATCH] frv-tdep.c: Stop backtraces in entry func, not entry file

Daniel Jacobowitz drow@mvista.com
Thu Oct 16 04:10:00 GMT 2003


On Wed, Oct 15, 2003 at 08:31:45PM -0700, Kevin Buettner wrote:
> Yes, I agree that deprecated_inside_entry_file() is a bad idea.  I
> suspect it was being used because past and existing
> implementations of inside_entry_func() proved to be unreliable.

FYI, I have some local hacks for the dwarf2 reader that are needed to
use inside_entry_func reliably (or a number of other things...) in the
presence of discarded sections.  I'll try to remember to post them but
the gist is that until the linker does better, we need to detect
wildly-inaccurate bounds on DIEs and not adjust the compilation unit's
bounds (or the start function's, either).

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list