This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: -file-list-exec-source-files implementation
- From: Eli Zaretskii <eliz at elta dot co dot il>
- To: Bob Rossi <bob at brasko dot net>
- Cc: gdb at sources dot redhat dot com
- Date: 16 Dec 2003 08:08:20 +0200
- Subject: Re: -file-list-exec-source-files implementation
- References: <20031216001040.GA7871@white>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> Date: Mon, 15 Dec 2003 19:10:40 -0500
> From: Bob Rossi <bob@brasko.net>
>
> 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.