summaryrefslogtreecommitdiff
path: root/gdb/doc/observer.texi
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-03-22 18:06:05 +0000
committerPedro Alves <pedro@codesourcery.com>2009-03-22 18:06:05 +0000
commitda12fddea1a71fb3b808e88a5ef83bbca8e2cb30 (patch)
tree268c3f94a08ed0503b8405d0da542e5f0da43982 /gdb/doc/observer.texi
parent297cccbb83721274c4df1eec08dde9eb9f51a733 (diff)
downloadgdb-da12fddea1a71fb3b808e88a5ef83bbca8e2cb30.tar.gz
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/doc/observer.texi')
-rw-r--r--gdb/doc/observer.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index 04f5034081a..f0fc6f45767 100644
--- a/gdb/doc/observer.texi
+++ b/gdb/doc/observer.texi
@@ -151,6 +151,10 @@ The target was resumed. The @var{ptid} parameter specifies which
thread was resume, and may be RESUME_ALL if all threads are resumed.
@end deftypefun
+@deftypefun void about_to_proceed (void)
+The target is about to be proceeded.
+@end deftypefun
+
@deftypefun void breakpoint_created (int @var{bpnum})
A new breakpoint has been created. The argument @var{bpnum} is the
number of the newly-created breakpoint.