This is the mail archive of the
mailing list for the GDB project.
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?
> 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.