This is the mail archive of the gdb@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: Problem setting registers if stack point or frame pointer is 0


On Fri, Apr 04, 2008 at 12:25:14PM +0100, Antony KING wrote:
> Thanks for the information. Is the hack you mention the suggestion (you  
> gave to my colleague) in the following response?
>
>    http://www.cygwin.com/ml/gdb-patches/2006-05/msg00018.html
>
> We did have this patch applied at some point in earlier versions of our  
> GDB but we seem to have lost it along the way :-(.
>
> Anyway it looks to be a better solution than the one I suggested (as  
> every user of frame_find_by_id() will benefit), so I will reapply it to  
> our version of GDB (unless you have a better version).

Yes, that's it.  I still think it's gross and nasty, but I also still
haven't managed to come up with a better fix.  Maybe after I'm done
with my current set of unwinder changes.

-- 
Daniel Jacobowitz
CodeSourcery


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