diff options
author | Eli Zaretskii <eliz@gnu.org> | 2006-01-13 20:11:47 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2006-01-13 20:11:47 +0000 |
commit | ca91424e595f0d6ed392f66624066210ce0cf6e8 (patch) | |
tree | 55283c3137078da8e49f84336fd70ebbefe4a5a1 /gdb/doc | |
parent | fcc73fe3a6fa113f0a1b2a4ff1f343eaa8661f5b (diff) | |
download | gdb-ca91424e595f0d6ed392f66624066210ce0cf6e8.zip gdb-ca91424e595f0d6ed392f66624066210ce0cf6e8.tar.gz gdb-ca91424e595f0d6ed392f66624066210ce0cf6e8.tar.bz2 |
* gdb.texinfo (Define, Command Files): Document `end' and add index
entries for it.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index e5d8d76..39b562f 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -5,6 +5,8 @@ commands. Move the description of flow-control commands... (Command Files): ...to here. Document loop_break and loop_continue. + (Define, Command Files): Document `end' and add index entries for + it. 2006-01-04 Michael Snyder <msnyder@redhat.com> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index dd4fd8c..9160094 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -3601,7 +3601,7 @@ enable other breakpoints. @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 @@ which are given following the @code{define} command. The end of these 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 @@ command: @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 @@ This command skips the execution of the rest of the body of commands 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 |