From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16086 invoked by alias); 17 Feb 2004 21:58:13 -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 16073 invoked from network); 17 Feb 2004 21:58:09 -0000 Received: from unknown (HELO lakemtao02.cox.net) (68.1.17.243) by sources.redhat.com with SMTP; 17 Feb 2004 21:58:09 -0000 Received: from white ([68.9.64.121]) by lakemtao02.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040217215809.WOTB7164.lakemtao02.cox.net@white> for ; Tue, 17 Feb 2004 16:58:09 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1AtDEH-0001iS-00 for ; Tue, 17 Feb 2004 16:58:09 -0500 Date: Tue, 17 Feb 2004 21:58:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: [MI] -file-list-exec-source-files Message-ID: <20040217215808.GB6337@white> Mail-Followup-To: gdb@sources.redhat.com References: <20040216160835.GB3978@white> <40325BC5.4090403@gnu.org> <20040217191005.GA5982@white> <20040217191238.GA30895@nevyn.them.org> <20040217193001.GB5982@white> <40326FEB.8050409@gnu.org> <20040217200205.GC5982@white> <4032793A.6010605@gnu.org> <20040217210818.GA6337@white> <20040217213659.GA7134@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040217213659.GA7134@nevyn.them.org> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-02/txt/msg00217.txt.bz2 On Tue, Feb 17, 2004 at 04:36:59PM -0500, Daniel Jacobowitz wrote: > On Tue, Feb 17, 2004 at 04:08:18PM -0500, Bob Rossi wrote: > > Ok, now that I see the light, this is the only function I will need. > > > > -file-list-exec-source-files > > > > It will output the filename/fullname pair for every file. > > This will give me > > - a mapping between relative(filename) and absolute paths(fullname) > > - compatibility with old MI functions that only return the filename > > > > I was originally hesitant to do this because I thought I could only get > > the fullname from the psymtabs by reading in the symtab. I though this > > was too expensive. However, know it seems like some of the GDB > > developers think I can get access to the dirname with out reading in the > > entire symtab. I think this will be the easiest way to solve all of the > > problems. > > Do we want to qualify this by shared object? > > i.e. list the source files part of Application, the source files part > of libShared1.so, libc.so, et cetera? I think that's a great idea! Bob Rossi