[RFA] epilogue unwinder for i386 (reverse 1/2)

Michael Snyder msnyder@vmware.com
Sat Jul 4 00:26:00 GMT 2009


This comes out of a discussion with Daniel, about how gcc
does not generate the right dwarf info to allow correct
frame unwinding in function epilogues, causing frame_unwind
to return bad results.

It's necessary for reverse-step, which will frequently step
backward to the return instruction of a function.  But it also
provides an improvement for forward debugging, in that now,
without this change, if you STEPI until you are at the return
instruction, you will get a bad backtrace.

The infrun changes that take advantage of this patch will follow
separately.

Michael


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: epilogue.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090704/d1712998/attachment.txt>


More information about the Gdb-patches mailing list