From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21563 invoked by alias); 17 Feb 2004 21:08:20 -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 21531 invoked from network); 17 Feb 2004 21:08:19 -0000 Received: from unknown (HELO lakemtao03.cox.net) (68.1.17.242) by sources.redhat.com with SMTP; 17 Feb 2004 21:08:19 -0000 Received: from white ([68.9.64.121]) by lakemtao03.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040217210819.DRVV2192.lakemtao03.cox.net@white> for ; Tue, 17 Feb 2004 16:08:19 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1AtCS2-0001hJ-00 for ; Tue, 17 Feb 2004 16:08:18 -0500 Date: Tue, 17 Feb 2004 21:08:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: [MI] -file-list-exec-source-files Message-ID: <20040217210818.GA6337@white> Mail-Followup-To: gdb@sources.redhat.com References: <20040216153329.GA3978@white> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4032793A.6010605@gnu.org> User-Agent: Mutt/1.3.28i X-SW-Source: 2004-02/txt/msg00215.txt.bz2 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. Thanks, Bob Rossi