This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
PR 1250, backtrace from abort
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Cc: mec at shout dot net
- Date: Fri, 1 Aug 2003 21:11:29 -0400
- Subject: PR 1250, backtrace from abort
Just as a note....
The fix for this is either to start using frame_unwind_address_in_block in
i386_frame_cache, or finding a more general location to use it. Otherwise
Mark's uber new i386 prologue analyzer, analyzes the following function.
Then everything loses.
I think a more general solution is in order; for frame_func_unwind to return
a function based on the PC is not correct in this situation. Perhaps we
should revisit the idea of a flag indicate whether the resume address
is known-in-block (dummy frames, sigtramps) or maybe-just-after (normal
calls).
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer