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: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 30 Mar 2006 11:48:56 -0500
- Subject: Re: [RFA] Bail out of Thumb unwinding if there is no symbol
- References: <20060220214206.GA28728@nevyn.them.org> <1140516048.27380.10.camel@pc960.cambridge.arm.com>
On Tue, Feb 21, 2006 at 10:00:48AM +0000, Richard Earnshaw wrote:
> 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.
Thanks, committed.
--
Daniel Jacobowitz
CodeSourcery