diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-24 12:09:49 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-24 12:09:49 +0000 |
commit | 721c02def4f29758e8e63baf1276719e1b56d988 (patch) | |
tree | e31a47f644ed462d6dc67d3f20df952e40eb3db1 /gdb/doc | |
parent | f13468d93e86adc9d2ae64dc07881254f3b90b2a (diff) | |
download | gdb-721c02def4f29758e8e63baf1276719e1b56d988.zip gdb-721c02def4f29758e8e63baf1276719e1b56d988.tar.gz gdb-721c02def4f29758e8e63baf1276719e1b56d988.tar.bz2 |
* mi/mi-main.c (last_async_command): Rename to current_token.
(previous_async_command): Remove.
(mi_cmd_gdb_exit): Adjust.
(mi_cmd_exec_interrupt): Don't dance with previous_async_command.
(mi_cmd_target_select): Adjust.
(mi_cmd_execute): Don't set previous_async_command. Free token
here even in async mode.
(mi_execute_async_cli_command): Adjust.
(mi_exec_async_cli_cmd_continuation): Adjust. Do not free the
token.
(mi_load_progress): Adjust.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index fa94e40..9cdf5d9 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-04-24 Vladimir Prus <vladimir@codesourcery.com> + + * doc/gdb.texinfo (GDB/MI Output Syntax): Clarify that async + output does not necessary include any tokens. + 2008-04-22 Corinna Vinschen <vinschen@redhat.com> * gdb.texinfo (Set SH Calling convention): New @item. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e422d44..46d5904 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -17914,10 +17914,13 @@ Notes: All output sequences end in a single line containing a period. @item -The @code{@var{token}} is from the corresponding request. If an execution -command is interrupted by the @samp{-exec-interrupt} command, the -@var{token} associated with the @samp{*stopped} message is the one of the -original execution command, not the one of the interrupt command. +The @code{@var{token}} is from the corresponding request. Note that +for all async output, while the token is allowed by the grammar and +may be output by future versions of @value{GDBN} for select async +output messages, it is generally omitted. Frontends should treat +all async output as reporting general changes in the state of the +target and there should be no need to associate async output to any +prior command. @item @cindex status output in @sc{gdb/mi} |