help regarding epilogue/prologue sequence

Andrew Haley aph@redhat.com
Sun Jun 30 20:17:00 GMT 2013


On 06/30/2013 07:23 AM, vijay nag wrote:
> Binary compiled with GCC-4.7.2 has a different epilogue/prologue
> sequence when compared with the same binary emitted by GCC-3.3.6.

Well, yes.  A lot of work has been done on GCC since 2005.

> I'm sure I haven't used fomit-frame-pointer compilation flag.  What
> could be the issue here ? Is the linker doing some optimization
> here?  It has rendered my executable undebuggable in gdb.

This must be a GDB problem, then.  It all looks perfectly reasonable.
Which GDB is this?

Andrew.



More information about the Gcc-help mailing list