* tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 21 Mar 2011 17:23:05 +0000 (17:23 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 21 Mar 2011 17:23:05 +0000 (17:23 +0000)
field in returned unwinder.

gdb/ChangeLog
gdb/tramp-frame.c

index e532ef8..efc3aa2 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason
+       field in returned unwinder.
+
 2012-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * ada-lang.c (replace_operator_with_call): Copy also GDBARCH.
index d4d3a45..c7b1d9f 100644 (file)
@@ -163,6 +163,7 @@ tramp_frame_prepend_unwinder (struct gdbarch *gdbarch,
   unwinder->type = tramp_frame->frame_type;
   unwinder->unwind_data = data;
   unwinder->sniffer = tramp_frame_sniffer;
+  unwinder->stop_reason = default_frame_unwind_stop_reason;
   unwinder->this_id = tramp_frame_this_id;
   unwinder->prev_register = tramp_frame_prev_register;
   frame_unwind_prepend_unwinder (gdbarch, unwinder);