This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Bail out of Thumb unwinding if there is no symbol
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Feb 2006 10:00:48 +0000
- Subject: Re: [RFA] Bail out of Thumb unwinding if there is no symbol
- References: <20060220214206.GA28728@nevyn.them.org>
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.