diff options
author | Pedro Alves <palves@redhat.com> | 2009-03-22 17:57:11 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-03-22 17:57:11 +0000 |
commit | 41d2bdb467371e3a18ff8eb69859b1d7cb56a2bd (patch) | |
tree | 86d0544ca527fc6518ffde5506efa0fd5068613e /gdb/infcall.c | |
parent | 065a2c74b5aa7c28709928ca57aa49c2fb507079 (diff) | |
download | gdb-41d2bdb467371e3a18ff8eb69859b1d7cb56a2bd.zip gdb-41d2bdb467371e3a18ff8eb69859b1d7cb56a2bd.tar.gz gdb-41d2bdb467371e3a18ff8eb69859b1d7cb56a2bd.tar.bz2 |
* infcall.c (run_inferior_call): Remove references to
suppress_stop_observer.
* infcmd.c (suppress_stop_observer): Delete.
(finish_command_continuation): Remove NOTE. Don't clear
suppress_stop_observer anymore.
(finish_command_continuation_free_arg): Likewise.
(finish_forward): Remove references to suppress_stop_observer.
Call normal_stop observer if we haven't already.
* inferior.h (suppress_stop_observer): Delete.
* infrun.c (normal_stop): When deciding to suppress the
normal_stop observer, check for proceed_to_finish instead of
suppress_stop_observer.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index d6da8b2..3a11149 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -331,7 +331,6 @@ run_inferior_call (struct thread_info *call_thread, CORE_ADDR real_pc) volatile struct gdb_exception e; int saved_async = 0; int saved_suppress_resume_observer = suppress_resume_observer; - int saved_suppress_stop_observer = suppress_stop_observer; ptid_t call_thread_ptid = call_thread->ptid; char *saved_target_shortname = xstrdup (target_shortname); @@ -344,7 +343,6 @@ run_inferior_call (struct thread_info *call_thread, CORE_ADDR real_pc) saved_async = target_async_mask (0); suppress_resume_observer = 1; - suppress_stop_observer = 1; TRY_CATCH (e, RETURN_MASK_ALL) proceed (real_pc, TARGET_SIGNAL_0, 0); @@ -355,7 +353,6 @@ run_inferior_call (struct thread_info *call_thread, CORE_ADDR real_pc) call_thread = NULL; suppress_resume_observer = saved_suppress_resume_observer; - suppress_stop_observer = saved_suppress_stop_observer; /* Don't restore the async mask if the target has changed, saved_async is for the original target. */ |