From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14495 invoked by alias); 31 Oct 2004 16:28:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14487 invoked from network); 31 Oct 2004 16:28:36 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 31 Oct 2004 16:28:36 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id i9VGSXV9030939; Sun, 31 Oct 2004 17:28:33 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id i9VGSXSq002100; Sun, 31 Oct 2004 17:28:33 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id i9VGSXwA002097; Sun, 31 Oct 2004 17:28:33 +0100 (CET) Date: Sun, 31 Oct 2004 16:28:00 -0000 Message-Id: <200410311628.i9VGSXwA002097@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: cagney@gnu.org CC: gdb-patches@sources.redhat.com Subject: [PATCH/RFA] Set tramp_frame unwinder type correctly X-SW-Source: 2004-10/txt/msg00537.txt.bz2 Andrew, I suspect this was your origional intention. Right? Mark Index: ChangeLog from Mark Kettenis * 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;