This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Where should the inside_entry_func check go?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 30 Jun 2003 10:40:13 -0400
- Subject: Where should the inside_entry_func check go?
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