Problem setting registers if stack point or frame pointer is 0
Daniel Jacobowitz
drow@false.org
Fri Apr 4 17:37:00 GMT 2008
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
More information about the Gdb
mailing list