This is the mail archive of the gdb-patches@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: [commit] Fix tramp-frame.c crash (Re: graceful unwind termination when we'd need unavailable/uncollect memory or registers to unwind further)


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


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