diff options
author | 2008-06-25 14:32:34 +0000 | |
---|---|---|
committer | 2008-06-25 14:32:34 +0000 | |
commit | a2840c355960fdc116b12bd02abba2c5b9a9a653 (patch) | |
tree | 2b8b55099387c6e59328a04b599bb02d6f5f7ab3 /gdb/mi/mi-main.h | |
parent | * elf32-arm.c (STUB_ENTRY_NAME): Define. (diff) | |
download | binutils-gdb-a2840c355960fdc116b12bd02abba2c5b9a9a653.tar.gz binutils-gdb-a2840c355960fdc116b12bd02abba2c5b9a9a653.tar.bz2 binutils-gdb-a2840c355960fdc116b12bd02abba2c5b9a9a653.zip |
Emit ^running via observer.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print
^running here.
(mi_on_resume): Print ^running if not previously output.
* mi/mi-main.c (running_result_record_printed): New.
(captured_mi_execute_command): Reset
running_result_record_printed. Use running_result_record_printed
to decide if we should skip ^done.
(mi_execute_async_cli_command): Don't print ^running here.
* mi/mi-main.h (current_token, running_result_record_printed):
Declare.
Diffstat (limited to 'gdb/mi/mi-main.h')
-rw-r--r-- | gdb/mi/mi-main.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.h b/gdb/mi/mi-main.h index 1a2e93cf965..1aa5da23002 100644 --- a/gdb/mi/mi-main.h +++ b/gdb/mi/mi-main.h @@ -25,5 +25,10 @@ extern void mi_load_progress (const char *section_name, unsigned long total_section, unsigned long total_sent, unsigned long grand_total); + +extern char *current_token; + +extern int running_result_record_printed; + #endif |