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: [patch] Set register even when no frame exists


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


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