From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13913 invoked by alias); 7 May 2004 20:57:49 -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 13888 invoked from network); 7 May 2004 20:57:49 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 7 May 2004 20:57:49 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BMCPk-0007zJ-R8; Fri, 07 May 2004 16:57:48 -0400 Date: Fri, 07 May 2004 20:57:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb@sources.redhat.com, binutils@sources.redhat.com Subject: Re: GDB using addr2line? Message-ID: <20040507205748.GA30651@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb@sources.redhat.com, binutils@sources.redhat.com References: <409BDEB7.6070005@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <409BDEB7.6070005@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00061.txt.bz2 On Fri, May 07, 2004 at 03:08:39PM -0400, Andrew Cagney wrote: > Hello, > > As anyone looked at (interested in) getting GDB and addr2line sharing > common linetable code? A libsal (source and line) say. > > GDB, for N:M breakpoints, needs a better line table, if addr2line is > going to keep working its going to need something similar. addr2line has an adequate address to line (duh) mapping. It's in BFD, unsurprisingly. It doesn't maintain any data structures worth speaking about for going the other way, which is what GDB will need; and I don't think other BFD clients are going to need that either. -- Daniel Jacobowitz