From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17050 invoked by alias); 27 May 2005 09:26:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17041 invoked by uid 22791); 27 May 2005 09:26:53 -0000 Received: from miranda.se.axis.com (HELO miranda.se.axis.com) (193.13.178.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 27 May 2005 09:26:53 +0000 Received: from [10.92.19.1] (ironmaiden.se.axis.com [10.92.19.1]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id j4R9QDNc018487; Fri, 27 May 2005 11:26:13 +0200 Message-ID: <4296E7B8.9080504@axis.com> Date: Fri, 27 May 2005 09:26:00 -0000 From: Orjan Friberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: Dwarf-2 unwinding vs. manual prologue analysis References: <4295E439.7070104@axis.com> <20050526150841.GA9804@nevyn.them.org> In-Reply-To: <20050526150841.GA9804@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00345.txt.bz2 Daniel Jacobowitz wrote: > Please use gdb@ for questions; I expect most messages to gdb-patches to > be in need of review :-) Sorry about that. Fixed (even though I guess it might break the threading). > On Thu, May 26, 2005 at 04:59:05PM +0200, Orjan Friberg wrote: >> >>Do I need to able to do manual prologue analysis when there's Dwarf-2 CFI >>available? If so, is there a set of minimum requirements for what that >>analysis must be able figure out? > > > No. If enabling the DWARF-2 CFI support causes things to break, then > you need to inspect your CFI; it is probably broken. I'm not sure I understand what you mean. Are you saying that the CFI might be broken if the manual prologue analysis is used in cases where the Dwarf-2 CFI should be available (and sufficient)? Since I don't have a correct prologue scanner for CRISv32, nothing would work without having the Dwarf-2 frame sniffer hooked in. > You need to do > prologue analysis if there's anything without CFI that you need to > handle, which there usually is - for instance PLT stubs. Ok, I'll look into that. Thanks. -- Orjan Friberg Axis Communications