aboutsummaryrefslogtreecommitdiff
path: root/gdb/tramp-frame.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-11-07 12:54:58 +0000
committerMark Kettenis <kettenis@gnu.org>2004-11-07 12:54:58 +0000
commit1f5867657bc6f0d97c5991807c902a2876fdb5d7 (patch)
tree9d9bec40a8ce3fdaa844ce55f98864a92bd5a8f6 /gdb/tramp-frame.c
parent9dfe873851b6ddd850a713874a2f34970c5c0e95 (diff)
downloadgdb-1f5867657bc6f0d97c5991807c902a2876fdb5d7.zip
gdb-1f5867657bc6f0d97c5991807c902a2876fdb5d7.tar.gz
gdb-1f5867657bc6f0d97c5991807c902a2876fdb5d7.tar.bz2
* tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
from TRAMP_FRAME frame type.
Diffstat (limited to 'gdb/tramp-frame.c')
-rw-r--r--gdb/tramp-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tramp-frame.c b/gdb/tramp-frame.c
index e1b946b..19ce3bd 100644
--- a/gdb/tramp-frame.c
+++ b/gdb/tramp-frame.c
@@ -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;