From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8960 invoked by alias); 24 Nov 2005 18:11:48 -0000 Received: (qmail 8948 invoked by uid 22791); 24 Nov 2005 18:11:47 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Nov 2005 18:11:46 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id jAOIB6Fj031521; Thu, 24 Nov 2005 19:11:06 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id jAOIB6N5032169; Thu, 24 Nov 2005 19:11:06 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id jAOIB5Dc010354; Thu, 24 Nov 2005 19:11:05 +0100 (CET) Date: Thu, 24 Nov 2005 23:42:00 -0000 Message-Id: <200511241811.jAOIB5Dc010354@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: andrew.stubbs@st.com CC: andrew.stubbs@st.com, drow@false.org, gdb-patches@sources.redhat.com In-reply-to: <4385F7A0.5070907@st.com> (message from Andrew STUBBS on Thu, 24 Nov 2005 17:25:52 +0000) Subject: Re: [SH][PATCH] Disable ABI frame sniffer References: <43722DEF.8060300@st.com> <20051110013122.GB11334@nevyn.them.org> <437321EE.7010904@st.com> <20051110133905.GB21420@nevyn.them.org> <43735A1D.6010406@st.com> <20051110231336.GB3195@nevyn.them.org> <4374863D.60601@st.com> <20051113183624.GE3599@nevyn.them.org> <4384B6B5.90207@st.com> <4385F7A0.5070907@st.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00446.txt.bz2 > Date: Thu, 24 Nov 2005 17:25:52 +0000 > From: Andrew STUBBS > > The attached patch to get_prev_frame_1() *does* fix the problem. With > this I get exactly what I want. > > I have no doubt that it is somehow horribly flawed and totally > unacceptable, but hopefully something will emerge from all this. Indeed it is. Several operating systems map bits of code into the program's address space and your patch prevents gdb from unwinding through such bits. Mark