Re: -file-list-exec-source-files implementation

Eli Zaretskii
2003-12-16T06:06:35Z

> 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.