This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Document `end' and improve indexing


FYI, I've committed the following changes to the manual, to document
`end' where it is mentioned and add indexing for it.

2006-01-13  Eli Zaretskii  <eliz@gnu.org>

	* gdb.texinfo (Define, Command Files): Document `end' and add
	index entries for it.

Index: gdb/doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.306
diff -u -r1.306 gdb.texinfo
--- gdb/doc/gdb.texinfo	13 Jan 2006 15:49:02 -0000	1.306
+++ gdb/doc/gdb.texinfo	13 Jan 2006 20:09:21 -0000
@@ -3601,7 +3601,7 @@
 
 @table @code
 @kindex commands
-@kindex end
+@kindex end@r{ (breakpoint commands)}
 @item commands @r{[}@var{bnum}@r{]}
 @itemx @dots{} @var{command-list} @dots{}
 @itemx end
@@ -16038,6 +16038,7 @@
 commands is marked by a line containing @code{end}.
 
 @kindex document
+@kindex end@r{ (user-defined commands)}
 @item document @var{commandname}
 Document the user-defined command @var{commandname}, so that it can be
 accessed by @code{help}.  The command @var{commandname} must already be
@@ -16188,6 +16189,7 @@
 
 @table @code
 @kindex source
+@cindex execute commands from a file
 @item source @var{filename}
 Execute the command file @var{filename}.
 @end table
@@ -16260,6 +16262,11 @@
 in the @code{while} loop in whose body it is included.  Execution
 branches to the beginning of the @code{while} loop, where it evaluates
 the controlling expression.
+
+@kindex end@r{ (if/else/while commands)}
+@item end
+Terminate the block of commands that are the body of @code{if},
+@code{else}, or @code{while} flow-control commands.
 @end table
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]