public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to traceback call stack on MIPS arch?
@ 2008-01-08 19:22 PRC
  2008-01-08 21:25 ` Andrew Haley
  0 siblings, 1 reply; 6+ messages in thread
From: PRC @ 2008-01-08 19:22 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-10  0:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08 19:22 How to traceback call stack on MIPS arch? PRC
2008-01-08 21:25 ` Andrew Haley
2008-01-09 13:52   ` David Daney
2008-01-09 14:08     ` Andrew Haley
2008-01-10  0:11     ` PRC
2008-01-11  9:29       ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).