This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Fix tramp-frame.c crash (Re: graceful unwind termination when we'd need unavailable/uncollect memory or registers to unwind further)
- From: Pedro Alves <pedro at codesourcery dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Mar 2011 20:41:35 +0000
- Subject: Re: [commit] Fix tramp-frame.c crash (Re: graceful unwind termination when we'd need unavailable/uncollect memory or registers to unwind further)
- References: <201103211724.p2LHOjEk017286@d06av02.portsmouth.uk.ibm.com>
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