This is the mail archive of the gcc-help@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]
Other format: [Raw text]

How to traceback call stack on MIPS arch?


Gcc saves the frame pointer to fp(s8) register at the beginning of each function if compiling source with -O0. 
But  it won't do so if compiling source with -O2. Without frame pointers, can I trace back call stacks in
current function context? Or is there any option which forces gcc to save frame pointers for MIPS arch?


PRC
2008/1/8


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