This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]