Re: gcc forgets to decrease esp after function call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vladimir Simonov writes:
 > Hi again,
 > 
 > Ok, thank you.
 > I'll try to prepare minimal testcase. It is not so easy
 > because the problem apears while handling complex
 > templated code.
 > 
 > But I need advices about workarround the problem.
 > Say,
 > How can I force gcc to use ebp instead of
 > esp to address local variables?

-fno-omit-frame-pointer ought to do it.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux