gdb/
authorPedro Alves <palves@redhat.com>
Sun, 22 Mar 2009 18:06:07 +0000 (18:06 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 22 Mar 2009 18:06:07 +0000 (18:06 +0000)
commitf3b1572e1aedb92f0d7672c384de4bbc70b59757
tree156787f18411aebdcd4ea9c7af26977336416e08
parentc5a4d20bb945df22e3244f60cff1860932802354
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.
gdb/ChangeLog
gdb/breakpoint.c
gdb/doc/ChangeLog
gdb/doc/observer.texi
gdb/inferior.h
gdb/infrun.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/mi/mi-main.h