Where should the inside_entry_func check go?
Daniel Jacobowitz
drow@mvista.com
Mon Jun 30 15:45:00 GMT 2003
Here's something that's puzzled me for a while. In framifying the ARM port,
I discovered that in order to terminate backtraces properly I must call
inside_entry_func (because, while _start does initialize $fp to 0, the
prologue scanner correctly determines that _start doesn't use $fp as its
frame pointer - so we default to $sp, which is valid). It used to be that
FRAME_CHAIN_VALID would take care of this. Is it now every architecture's
responsibility?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list