From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 885 invoked by alias); 17 Feb 2004 21:37:00 -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 876 invoked from network); 17 Feb 2004 21:37:00 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 17 Feb 2004 21:37:00 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AtCtn-0001rM-L1 for ; Tue, 17 Feb 2004 16:36:59 -0500 Date: Tue, 17 Feb 2004 21:37:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: [MI] -file-list-exec-source-files Message-ID: <20040217213659.GA7134@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20040216154628.GA996@nevyn.them.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040217210818.GA6337@white> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00216.txt.bz2 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? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer