This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch to improve i386 epilogue (version 2)


>>>>> Jeffrey A Law <law@cygnus.com> writes:

 > It may be the case that gdb on the x86 can handle a frame pointerless
 > function if it is a leaf (since the stack will not change during the
 > execution of the function)

Nope.  gdb needs the frame pointer to unwind the frame.  DWARF 2 can
express all the necessary information for fp-less debugging, but gdb
doesn't currently handle .debug_frame/.eh_frame.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]