From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20194 invoked by alias); 12 Feb 2005 13:04:44 -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 20176 invoked from network); 12 Feb 2005 13:04:38 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 12 Feb 2005 13:04:38 -0000 Received: (qmail 20829 invoked from network); 12 Feb 2005 13:04:37 -0000 Received: from localhost (HELO ?192.168.189.108?) (nathan@127.0.0.1) by mail.codesourcery.com with SMTP; 12 Feb 2005 13:04:37 -0000 Message-ID: <420DFEDC.90002@codesourcery.com> Date: Sat, 12 Feb 2005 15:52:00 -0000 From: Nathan Sidwell Organization: CodeSourcery LLC User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: Mark Kettenis CC: gdb-patches@sources.redhat.com, paul@codesourcery.com Subject: Re: [patch] Dwarf2 virtual frame pointer References: <420B2F90.4060403@codesourcery.com> <200502120312.j1C3CSid022971@copland.sibelius.xs4all.nl> In-Reply-To: <200502120312.j1C3CSid022971@copland.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-02/txt/msg00119.txt.bz2 Mark Kettenis wrote: > Almost certainly no. Replacing `struct frame *next_frame' with > `CORE_ADDR pc' is moving backward instead of forward. Any functions > that starts with legacy_ should not be used in generic code like the > code in dwarf2-frame.c. oh, ok. > Can you explains what you're trying to accomplish? > > If you're trying to use the DWARF CFI for anything else than unwinding > the stack, like finding out whether the location of local variables is > relative to $sp or $fp then rethink your strategy. This is not what > the DWARF CFI is for. ok. Then how do I find out that information? The compiler (gcc 3.4) is emitting DW_OP_fbreg location information for the local variables, should it be emitting something else? nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk