aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.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/inferior.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/inferior.h')
-rw-r--r--gdb/inferior.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 969974c..c237e6e 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -287,11 +287,6 @@ extern void notice_new_inferior (ptid_t, int, int);
extern CORE_ADDR stop_pc;
-/* Flag indicating that a command has proceeded the inferior past the
- current breakpoint. */
-
-extern int breakpoint_proceeded;
-
/* Nonzero if stopped due to completion of a stack dummy routine. */
extern int stop_stack_dummy;