Add the -file-list-exec-source-files command to MI.

This commit is contained in:
Bob Rossi
2004-06-10 20:05:45 +00:00
parent 239ae8c755
commit 57c22c6ce1
13 changed files with 228 additions and 49 deletions

View File

@@ -16848,14 +16848,24 @@ There's no @value{GDBN} command which directly corresponds to this one.
List the source files for the current executable.
It will always output the filename, but only when GDB can find the absolute
file name of a source file, will it output the fullname.
@subsubheading @value{GDBN} Command
There's no @value{GDBN} command which directly corresponds to this one.
@code{gdbtk} has an analogous command @samp{gdb_listfiles}.
@subsubheading Example
N.A.
@smallexample
(@value{GDBP})
-file-list-exec-source-files
^done,files=[
@{file=foo.c,fullname=/home/foo.c@},
@{file=/home/bar.c,fullname=/home/bar.c@},
@{file=gdb_could_not_find_fullpath.c@}]
(@value{GDBP})
@end smallexample
@subheading The @code{-file-list-shared-libraries} Command
@findex -file-list-shared-libraries