This is the mail archive of the gdb-patches@sourceware.org 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]

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


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.


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