This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH/RFA] Set tramp_frame unwinder type correctly


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;


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