From: Nick Roberts Date: Mon, 4 Sep 2006 10:07:23 +0000 (+0000) Subject: (captured_mi_execute_command): Give current_command_token a value. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3436d276c568d6a1cf820ce223d75f53ec74989d;p=thirdparty%2Fbinutils-gdb.git (captured_mi_execute_command): Give current_command_token a value. --- diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 447b0bf4b79..45c85264f14 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