From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3949 invoked by alias); 30 Dec 2004 20:07:29 -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 3590 invoked from network); 30 Dec 2004 20:07:21 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 30 Dec 2004 20:07:21 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Ck6Zs-0002tA-Um; Thu, 30 Dec 2004 15:07:21 -0500 Date: Thu, 30 Dec 2004 20:07:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" Cc: gcc@gcc.gnu.org, GDB Subject: Re: GDB 6.3 assumes that DW_AT_frame_base exists Message-ID: <20041230200720.GA11027@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , gcc@gcc.gnu.org, GDB References: <20041222011627.GA15293@lucon.org> <41C9577D.3010509@redhat.com> <20041222182449.GA29407@lucon.org> <20041223034318.GA19580@nevyn.them.org> <20041230192424.GA16440@lucon.org> <20041230193618.GA16661@lucon.org> <20041230195642.GA16984@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041230195642.GA16984@lucon.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-12/txt/msg00131.txt.bz2 On Thu, Dec 30, 2004 at 11:56:42AM -0800, H. J. Lu wrote: > DW_AT_frame_base may be needed for location lists of local variables. > But in case of tls_symbolic_operand, there is no local variable. > Location lists are used for function parameters. Then why is GDB calling get_frame_base? It is only called for DW_OP_fbreg. If we don't have a frame base, we don't know what DW_OP_fbreg refers to. GDB should issue an error instead of crashing, but that's as far as we can go. -- Daniel Jacobowitz