This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Set register even when no frame exists
- From: Daniel Jacobowitz <drow at false dot org>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 26 Sep 2008 15:08:56 -0400
- Subject: Re: [patch] Set register even when no frame exists
- References: <gbj7fj$667$1@ger.gmane.org>
On Fri, Sep 26, 2008 at 01:51:47PM -0400, Aleksandar Ristovski wrote:
> Simple solution (see the patch attached) is to call "get_current_frame" which will effectively create a sentinel frame.To me having only sentinel frame at this point in game makes a lot of sense.
This doesn't relate to the current frame. The problem is that we
actually identify some frames using null_frame_id, but also overload
it to mean "there is no frame".
I posted a workaround patch last time this came up though I can't find
it right now. There's also a description of the general problem at
http://sourceware.org/ml/gdb/2006-05/msg00109.html.
I wanted to come back to it but I'm currently still stuck on the
inlining patches; only one frame unwinder change at a time for me.
--
Daniel Jacobowitz
CodeSourcery