diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2006-09-04 10:07:23 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2006-09-04 10:07:23 +0000 |
commit | 3436d276c568d6a1cf820ce223d75f53ec74989d (patch) | |
tree | 28e702962b097c8dd9d444fc1f524bae45f5b7bd | |
parent | 9c1f812cccfdc53a2698c47accfe0ec7d29c7864 (diff) | |
download | fsf-binutils-gdb-3436d276c568d6a1cf820ce223d75f53ec74989d.zip fsf-binutils-gdb-3436d276c568d6a1cf820ce223d75f53ec74989d.tar.gz fsf-binutils-gdb-3436d276c568d6a1cf820ce223d75f53ec74989d.tar.bz2 |
(captured_mi_execute_command): Give current_command_token a value.
-rw-r--r-- | gdb/mi/mi-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 447b0bf..45c8526 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1086,6 +1086,8 @@ captured_mi_execute_command (struct ui_out *uiout, void *data) args->action = EXECUTE_COMMAND_DISPLAY_PROMPT; args->rc = mi_cmd_execute (context); + current_command_token = context->token; + if (!target_can_async_p () || !target_executing) { /* print the result if there were no errors |