aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorBob Rossi <bob@brasko.net>2004-06-10 20:05:45 +0000
committerBob Rossi <bob@brasko.net>2004-06-10 20:05:45 +0000
commit57c22c6ce1e294fcec9653c0cf2c37eb77225fe6 (patch)
tree1cf1db59680a0f24ebb22438fa5ef981bf8d8c74 /gdb/doc
parent239ae8c7556347fead17ce5caef2e9a441e89e05 (diff)
downloadgdb-57c22c6ce1e294fcec9653c0cf2c37eb77225fe6.zip
gdb-57c22c6ce1e294fcec9653c0cf2c37eb77225fe6.tar.gz
gdb-57c22c6ce1e294fcec9653c0cf2c37eb77225fe6.tar.bz2
Add the -file-list-exec-source-files command to MI.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo14
1 files changed, 12 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 25a9689..f78b3d4 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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