summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-05-04 04:02:07 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-05-04 04:02:07 +0000
commitba0414cd9ee91583310753dc80132ce98f13a96d (patch)
tree18922fdac90ad317398b7436c03d86468aabfddf
parent6ac84660ec720f2686cdb8a12e0c9387f39a5b13 (diff)
downloadgdb-ba0414cd9ee91583310753dc80132ce98f13a96d.tar.gz
From Thierry Schneider <tpschneider1@yahoo.com>:
* gdb.texinfo (section GDB/MI Symbol Query): Add documentation for new MI command.
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo26
2 files changed, 32 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index dda0e124297..f8904e1f7af 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-03 J. Brobecker <brobecker@gnat.com>
+
+ Thierry Schneider <tpschneider1@yahoo.com>
+ * gdb.texinfo (section GDB/MI Symbol Query): Add documentation
+ for new MI command.
+
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0aea7161361..7524e763dbc 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17114,6 +17114,32 @@ List the functions in the executable.
N.A.
+@subheading The @code{-symbol-list-lines} Command
+@findex -symbol-list-lines
+
+@subsubheading Synopsis
+
+@smallexample
+ -symbol-list-lines @var{filename}
+@end smallexample
+
+Print the list of lines that contain code and their associated program
+addresses for the given source filename. The entries are sorted in
+ascending PC order.
+
+@subsubheading @value{GDBN} Command
+
+There is no corresponding @value{GDBN} command.
+
+@subsubheading Example
+@smallexample
+(@value{GDBP})
+-symbol-list-lines basics.c
+^done,lines=[{pc="0x08048554",line="7"},{pc="0x0804855a",line="8"}]
+(@value{GDBP})
+@end smallexample
+
+
@subheading The @code{-symbol-list-types} Command
@findex -symbol-list-types