From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16787 invoked by alias); 31 Oct 2004 16:34:27 -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 16751 invoked from network); 31 Oct 2004 16:34:26 -0000 Received: from unknown (HELO localhost.redhat.com) (24.42.65.225) by sourceware.org with SMTP; 31 Oct 2004 16:34:26 -0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 51016129D8C; Sun, 31 Oct 2004 11:34:09 -0500 (EST) Message-ID: <41851400.4070107@gnu.org> Date: Sun, 31 Oct 2004 16:34:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Set tramp_frame unwinder type correctly References: <200410311628.i9VGSXwA002097@elgar.sibelius.xs4all.nl> In-Reply-To: <200410311628.i9VGSXwA002097@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00539.txt.bz2 Mark Kettenis wrote: > Andrew, > > I suspect this was your origional intention. Right? yes. > 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;