From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16785 invoked by alias); 16 Feb 2004 03:30:10 -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 16774 invoked from network); 16 Feb 2004 03:30:09 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 16 Feb 2004 03:30:09 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AsZSS-0007a6-I4 for ; Sun, 15 Feb 2004 22:30:08 -0500 Date: Mon, 16 Feb 2004 03:30:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: [MI] -file-list-exec-source-files Message-ID: <20040216033008.GB2685@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20040213012946.GB4476@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040213012946.GB4476@white> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00152.txt.bz2 On Thu, Feb 12, 2004 at 08:29:46PM -0500, Bob Rossi wrote: > So, I have 2 solutions, > 1. Modify the psytmab to also have the 'dirname'. Which seems > difficult. Although I do think this is the best solution. (Not knowing > to much about psymtabs and symtabs) > > 2. Change -file-list-exec-source-file to receive an optional filename, > which when doing this causes GDB to read in the symtab associated with > the psymtab. Then the fullname can be retrieved. The question is whether this information is available without having to read full symtabs. Is this the dirname referenced in debug information, or the dirname in which GDB has actually found the file? I'm guessing that it's the latter, since so few debug readers bother to fill in the former. If so we would have to search the directory path for every file when generating psymtabs, which isn't acceptable. It would take a fearsomely long time. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer