diff options
author | Andrew Burgess <aburgess@redhat.com> | 2021-12-07 10:43:38 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2021-12-22 15:42:44 +0000 |
commit | 042574aa6e57a2a3792dc83e242d197cb3e63067 (patch) | |
tree | 02a76bb9ae8c77da8f7db10654297bab157bfc7b /gdb/doc | |
parent | b6e52a0b3b67d2cc98834c46fb67933252189503 (diff) | |
download | gdb-042574aa6e57a2a3792dc83e242d197cb3e63067.zip gdb-042574aa6e57a2a3792dc83e242d197cb3e63067.tar.gz gdb-042574aa6e57a2a3792dc83e242d197cb3e63067.tar.bz2 |
gdb/doc: add some index entries relating to mi-async setting
I noticed that the mi-async setting was not referenced from the index
in any way, this commit tries to rectify that a bit.
The @cindex lines I think are not controversial, these same index
entries are used elsewhere in the manual for async related topics (see
@node Background Execution).
The only bit that might be controversial is that I've added a @kindex
entry for 'set mi-async' when the command is documented as '-gdb-set
mi-async' (with a similar difference for the show/-gdb-show).
My reasoning here is that nothing else is indexed under -gdb-set or
-gdb-show, and as -gdb-set/-gdb-show are just the MI equivalent for
set/show anything that is documented under set/show can be adjusted
using -gdb-set/-gdbshow, and so, I've tried to keep the index
consistent for mi-async.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/gdb.texinfo | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 2d34141..7da6805 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -29402,8 +29402,12 @@ find if asynchronous execution is enabled using the @code{-list-target-features} command. @table @code -@item -gdb-set mi-async on -@item -gdb-set mi-async off +@cindex foreground execution +@cindex background execution +@cindex asynchronous execution +@cindex execution, foreground, background and asynchronous +@kindex set mi-async +@item -gdb-set mi-async @r{[}on@r{|}off@r{]} Set whether MI is in asynchronous mode. When @code{off}, which is the default, MI execution commands (e.g., @@ -29415,6 +29419,7 @@ commands (e.g., @code{-exec-continue} becomes the equivalent of the @code{c&} CLI command), and so @value{GDBN} is capable of processing MI commands even while the target is running. +@kindex show mi-async @item -gdb-show mi-async Show whether MI asynchronous mode is enabled. @end table |