diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-10 10:23:54 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-10 10:23:54 +0000 |
commit | e1ac3328737bc34a23dbfff92b416a9d9306329a (patch) | |
tree | a6ffb502159f70dbab8c069def57709877ec7b9d /gdb/infcall.c | |
parent | f7f9a841a31878b377a60bfc7c793e6c8400fafe (diff) | |
download | fsf-binutils-gdb-e1ac3328737bc34a23dbfff92b416a9d9306329a.zip fsf-binutils-gdb-e1ac3328737bc34a23dbfff92b416a9d9306329a.tar.gz fsf-binutils-gdb-e1ac3328737bc34a23dbfff92b416a9d9306329a.tar.bz2 |
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.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index ded3211..33a098f 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -721,8 +721,8 @@ call_function_by_hand (struct value *function, int nargs, struct value **args) saved_async = target_async_mask (0); old_cleanups2 = make_cleanup_restore_integer - (&suppress_normal_stop_observer); - suppress_normal_stop_observer = 1; + (&suppress_run_stop_observers); + suppress_run_stop_observers = 1; proceed (real_pc, TARGET_SIGNAL_0, 0); do_cleanups (old_cleanups2); |