[PATCH/RFA] Set tramp_frame unwinder type correctly
Andrew Cagney
cagney@gnu.org
Sun Oct 31 16:34:00 GMT 2004
Mark Kettenis wrote:
> Andrew,
>
> I suspect this was your origional intention. Right?
yes.
> Index: ChangeLog
> from Mark Kettenis <kettenis@gnu.org>
>
> * tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
> from TRAMP_FRAME frame type.
>
> Index: tramp-frame.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/tramp-frame.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 tramp-frame.c
> --- tramp-frame.c 20 Jul 2004 15:11:37 -0000 1.6
> +++ tramp-frame.c 31 Oct 2004 16:26:59 -0000
> @@ -166,7 +166,7 @@ tramp_frame_prepend_unwinder (struct gdb
> unwinder = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct frame_unwind);
>
> data->tramp_frame = tramp_frame;
> - unwinder->type = SIGTRAMP_FRAME;
> + unwinder->type = tramp_frame->frame_type;
> unwinder->unwind_data = data;
> unwinder->sniffer = tramp_frame_sniffer;
> unwinder->this_id = tramp_frame_this_id;
More information about the Gdb-patches
mailing list