Re: MIPS backtrace question ...

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

 



chingfu writes:
 > 
 > Hi,
 >    I work on mips platform but there are some problem when I debug. GCC
 > dispenses
 > with the frame pointer and uses only the stack pointer, which changes during
 > execution
 > of the procedure. I can not get frame pointer to find ra and next frame. And
 > I still not 
 > found good solution after I search from google.
 >    How do I traverse back to get the information about previous frame and
 > the 
 > subsequent ? Is only way to use external GDB/ICE ?

Recent versions of gdb and backtrace() use DWARF debuginfo to do the
unwinding.  That's the only way to make it work as far as I know,
although you may use -fno-omit-frame-pointer.

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