From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20168 invoked by alias); 16 Dec 2003 06:06:35 -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 20161 invoked from network); 16 Dec 2003 06:06:34 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 16 Dec 2003 06:06:34 -0000 Received: from [207.232.27.5] (helo=WST0035) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AW9J9-0005Zg-Rz; Tue, 16 Dec 2003 02:07:52 -0500 Date: Tue, 16 Dec 2003 06:06:00 -0000 Message-Id: From: Eli Zaretskii To: Bob Rossi CC: gdb@sources.redhat.com In-reply-to: <20031216001040.GA7871@white> (message from Bob Rossi on Mon, 15 Dec 2003 19:10:40 -0500) Subject: Re: -file-list-exec-source-files implementation Reply-to: Eli Zaretskii References: <20031216001040.GA7871@white> X-SW-Source: 2003-12/txt/msg00232.txt.bz2 > Date: Mon, 15 Dec 2003 19:10:40 -0500 > From: Bob Rossi > > I prefer the first alternative if it is possible to look up the fullpath > to all of the file's that the exe is made up of. Isn't it possible that the sources are actually in a different directory than the one recorded in the debug info, and if so, isn't it true that GDB allows to work with sources in such a case by means of the appropriate `dir' command? In such a case, the first alternative is not the way to go, as it will return unusable file names, and the way CLI does it is better, I think.