From 32e7087da9d4bc06e228f97bf9f05cefec49d98c Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sun, 4 May 2003 04:02:07 +0000 Subject: [PATCH] From Thierry Schneider : * gdb.texinfo (section GDB/MI Symbol Query): Add documentation for new MI command. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) 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 + + Thierry Schneider + * gdb.texinfo (section GDB/MI Symbol Query): Add documentation + for new MI command. + 2003-05-03 Andrew Cagney * 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 -- 2.30.2