* tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
authorMark Kettenis <kettenis@gnu.org>
Sun, 7 Nov 2004 12:54:58 +0000 (12:54 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 7 Nov 2004 12:54:58 +0000 (12:54 +0000)
from TRAMP_FRAME frame type.

gdb/tramp-frame.c

index e1b946b..19ce3bd 100644 (file)
@@ -166,7 +166,7 @@ tramp_frame_prepend_unwinder (struct gdbarch *gdbarch,
   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;