[RFA] Bail out of Thumb unwinding if there is no symbol

Richard Earnshaw rearnsha@arm.com
Tue Feb 21 10:26:00 GMT 2006


On Mon, 2006-02-20 at 21:42, Daniel Jacobowitz wrote:
> If find_pc_partial_function fails, prologue_start won't have been
> initialized.  The previous effect of this code was to try to disassemble at
> 0 (by luck, the variable was unset).  This patch just stops unwinding when
> we're stuck in a Thumb function without a symbol.
> 
> The astute may notice that it's a bit tricky to get to this situation
> with current GDB; if we don't have symbols, how do we know that we're
> Thumb?  Well, there's a couple ways to do it, including another
> patch that I'm about to post.
> 
> This seems like an improvement over the current situation.  Lightly tested;
> OK?

OK.

R.



More information about the Gdb-patches mailing list