Use observers to report stop events in MI.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 10 Jun 2008 09:35:09 +0000 (09:35 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 10 Jun 2008 09:35:09 +0000 (09:35 +0000)
commitf7f9a841a31878b377a60bfc7c793e6c8400fafe
tree1554ae753adf4a06eee7b5129ff71c937f5245ad
parentf5871ec07bfb6388317ec60513286c51ecd06733
Use observers to report stop events in MI.
        * mi/mi-interp.c (mi_on_normal_stop): New.
        (mi_interpreter_init): Register mi_on_normal_stop.
        (mi_interpreter_exec_continuation): Remove.
        (mi_cmd_interpreter_exec): Don't register the above.
        * mi/mi-main.c (captured_mi_execute_command): Don't care
        about sync_execution.
        (mi_execute_async_cli_command): Don't install continuation.  Don't
        print *stopped.
        (mi_exec_async_cli_cmd_continuation): Remove.
gdb/ChangeLog
gdb/infcmd.c
gdb/mi/mi-interp.c
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-break.exp
gdb/testsuite/gdb.mi/mi-syn-frame.exp
gdb/testsuite/gdb.mi/mi2-syn-frame.exp
gdb/testsuite/lib/mi-support.exp