From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23196 invoked by alias); 9 Apr 2002 16:12:26 -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 23156 invoked from network); 9 Apr 2002 16:12:25 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 9 Apr 2002 16:12:25 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9B3133C8F; Tue, 9 Apr 2002 12:12:27 -0400 (EDT) Message-ID: <3CB312EB.2030403@cygnus.com> Date: Tue, 09 Apr 2002 09:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Berlin Cc: gdb@sources.redhat.com Subject: Re: think-o: dwarf2 CFA != frame->frame (x86-64) References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00129.txt.bz2 > > It might just be misnamed. No. DW_OP_fbreg refers explicitly to DW_AT_frame_base. CFA is a concept local to the CFI. They would typically evaluate to the same value though. > I've converted rs6000 to use the dwarf2 cfa info (It's a little hairier, > since on x86-64, you *always* have the info, it's part of the ABI), and it > works just fine, even on optimized code. This is with the fallback to > normal methods in case the info isn't in the executable, disabled, so i'd > get errors if it wasn't using *only* the dwarf2 info. > > See: http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=466 Andrew