Implement *running.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 10 Jun 2008 10:23:54 +0000 (10:23 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 10 Jun 2008 10:23:54 +0000 (10:23 +0000)
commite1ac3328737bc34a23dbfff92b416a9d9306329a
treea6ffb502159f70dbab8c069def57709877ec7b9d
parentf7f9a841a31878b377a60bfc7c793e6c8400fafe
Implement *running.
        * Makefile.in: Update dependencies.
        * gdbthread.h (struct thread_info): New field
        running_.
        (set_running, is_running): New.
        * thread.c (set_running, is_running): New.
        * inferior.h (suppress_normal_stop_observer): Rename to...
        (suppress_run_stop_observers): ..this.
        * infcmd.c (suppress_normal_stop_observer): Rename to...
        (suppress_run_stop_observers): ..this.
        (finish_command_continuation, finish_command): Adjust.
        * infcall.c (call_function_by_hand): Adjust.
        * infrun.c (normal_stop): Call set_running.
        * target.c (target_resume): New.  Call set_running.
        * target.h (target_resume): Convert from macro to
        a function.

        * mi/mi-interp.c (mi_on_resume): New.
        (mi_interpreter_init): Register mi_on_resume.
20 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/observer.texi
gdb/gdbthread.h
gdb/infcall.c
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c
gdb/mi/mi-interp.c
gdb/target.c
gdb/target.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-console.exp
gdb/testsuite/gdb.mi/mi-syn-frame.exp
gdb/testsuite/gdb.mi/mi2-console.exp
gdb/testsuite/gdb.mi/mi2-syn-frame.exp
gdb/testsuite/lib/mi-support.exp
gdb/thread.c