From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 899 invoked by alias); 14 Feb 2003 20:23:25 -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 884 invoked from network); 14 Feb 2003 20:23:24 -0000 Received: from unknown (HELO dberlin.org) (69.3.5.6) by 172.16.49.205 with SMTP; 14 Feb 2003 20:23:24 -0000 Received: from [192.168.1.2] (HELO dberlin.org) by dberlin.org (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 2760095; Fri, 14 Feb 2003 15:23:23 -0500 Date: Fri, 14 Feb 2003 20:23:00 -0000 From: Daniel Berlin To: Daniel Jacobowitz cc: Michal Ludvig , gdb , "" Subject: Re: Reference to .debug_loc In-Reply-To: <20030214195124.GA11479@nevyn.them.org> Message-ID: References: <20030214152619.GD30416@nevyn.them.org> <20030214195124.GA11479@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-02/txt/msg00245.txt.bz2 > > >>Or is there another way? > > > > > >At a guess it should be like DW_AT_ranges: > > > .long .Ldebug_ranges0+0x0 # DW_AT_ranges > > > > > >I.E. dw2_asm_output_offset, rather than dw2_asm_output_delta, in GCC. > > > > > > > It's supposed to be the offset from the beginning of the debug_loc > > section. > > Will this do that? > > I think so. The result will be something like .Ldebug_ranges0 + > (.LLST0-.Ldebug_loc0). If the assembler won't take that then we'll > have to track addresses for loclists the same as we do for rangelists. I'm compiling a compiler that does it right now, i'll post the results. > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer >