From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19520 invoked by alias); 7 Apr 2002 02:24:35 -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 19488 invoked from network); 7 Apr 2002 02:24:32 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 7 Apr 2002 02:24:32 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 737CB3CBC; Sat, 6 Apr 2002 21:24:31 -0500 (EST) Message-ID: <3CAFADDF.4030607@cygnus.com> Date: Sat, 06 Apr 2002 18:24: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-patches@sources.redhat.com Subject: Re: [WIP]: LOC_COMPUTED and LOC_COMPUTED_ARG References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00245.txt.bz2 > > I'm confused now. > I grepped for frame->base, and find no occurrences of it. Try frame->frame $frame.base is the variable I'm adding that gives access to the corresponding value. > Anyway, DW_OP_fbreg has a special meaning. > It specifically means "Use the value you get from evaluating the > DW_AT_frame_base attribute of the current function". So that's what we do. > Even more specifically, "The DW_OP_fbreg operation provides a signed > LEB128 offset from the address specified by the location description in > the DW_AT_frame_base attribute of the current function." Yes, and as far as I can tell the value of DW_AT_frame_base (3.3.5?) should have previously been computed as frame->frame. > I'm just doing what the spec says, nothing more, nothing less. > :) I'm trying to save work :-) Andrew