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.