aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-main.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-03-22 18:06:07 +0000
committerPedro Alves <palves@redhat.com>2009-03-22 18:06:07 +0000
commitf3b1572e1aedb92f0d7672c384de4bbc70b59757 (patch)
tree156787f18411aebdcd4ea9c7af26977336416e08 /gdb/mi/mi-main.h
parentc5a4d20bb945df22e3244f60cff1860932802354 (diff)
downloadgdb-f3b1572e1aedb92f0d7672c384de4bbc70b59757.zip
gdb-f3b1572e1aedb92f0d7672c384de4bbc70b59757.tar.gz
gdb-f3b1572e1aedb92f0d7672c384de4bbc70b59757.tar.bz2
gdb/
* mi/mi-interp.c (mi_interpreter_init): Attach mi_about_to_proceed to the about_to_proceed observer notification. (mi_about_to_proceed): New. (mi_on_resume): Only output ^running and the prompt here if the target was proceeded. * breakpoint.c (breakpoint_proceeded): New static. (breakpoint_about_to_proceed): New. (_initialize_breakpoints): Attach breakpoint_about_to_proceed to the about_to_proceed observer notification. * inferior.h (breakpoint_proceeded): Delete declaration. * infrun.c (clear_proceed_status): Don't set breakpoint_proceeded. Notify the about_to_proceed observers. (struct inferior_status): Delete breakpoint_proceeded member. (save_inferior_status): Don't save it. (restore_inferior_status): Don't restore it. * mi-main.h (mi_proceeded): Declare. * mi/mi-main.c (mi_cmd_execute): Clear mi_proceeded before running a command. gdb/doc/ * observer.texi (about_to_proceed): New.
Diffstat (limited to 'gdb/mi/mi-main.h')
-rw-r--r--gdb/mi/mi-main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.h b/gdb/mi/mi-main.h
index 90a61e3..c8e0b7e 100644
--- a/gdb/mi/mi-main.h
+++ b/gdb/mi/mi-main.h
@@ -31,6 +31,7 @@ extern void mi_print_timing_maybe (void);
extern char *current_token;
extern int running_result_record_printed;
+extern int mi_proceeded;
#endif