[commit] Fix tramp-frame.c crash (Re: graceful unwind termination when we'd need unavailable/uncollect memory or registers to unwind further)

Pedro Alves pedro@codesourcery.com
Mon Mar 21 20:52:00 GMT 2011


On Monday 21 March 2011 17:24:45, Ulrich Weigand wrote:
> Pedro Alves wrote:
> 
> > 	(struct frame_unwind) <stop_reason>: New function pointer.
> 
> It seems you initialized this field in all statically allocated frame_unwind
> structures, but not in those dynamically allocated and returned from the
> tramp_frame_prepend_unwinder routine.  This causes crashes on all platforms
> that use the tramp-frame.c framework ...

Whoops, sorry about that.

> Fixed by the following patch.

Thanks!

-- 
Pedro Alves



More information about the Gdb-patches mailing list