aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
commit32e7087da9d4bc06e228f97bf9f05cefec49d98c (patch)
tree70f6b2307981f2f8fe548f84e7b6e81d0b0dfe40 /gdb
parentb81896b4c4990fd107496f1531b7990dfed5b126 (diff)
downloadgdb-32e7087da9d4bc06e228f97bf9f05cefec49d98c.zip
gdb-32e7087da9d4bc06e228f97bf9f05cefec49d98c.tar.gz
gdb-32e7087da9d4bc06e228f97bf9f05cefec49d98c.tar.bz2
From Thierry Schneider <tpschneider1@yahoo.com>:
* gdb.texinfo (section GDB/MI Symbol Query): Add documentation for new MI command.
Diffstat (limited to 'gdb')
-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 dda0e12..f8904e1 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 0aea716..7524e76 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