aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-03-22 17:59:59 +0000
committerPedro Alves <palves@redhat.com>2009-03-22 17:59:59 +0000
commitc5a4d20bb945df22e3244f60cff1860932802354 (patch)
treea58a881ecb6f727cdfd7ceea57a9e2efba44f8d3 /gdb/infcmd.c
parent41d2bdb467371e3a18ff8eb69859b1d7cb56a2bd (diff)
downloadgdb-c5a4d20bb945df22e3244f60cff1860932802354.zip
gdb-c5a4d20bb945df22e3244f60cff1860932802354.tar.gz
gdb-c5a4d20bb945df22e3244f60cff1860932802354.tar.bz2
* gdbthread.h (struct thread_info): Add in_infcall member.
* infcall.c (run_inferior_call): Save, set and restore in_infcall. Remove reverences to suppress_resume_observer. Refresh `call_thread' after returning from `proceed'. * infcmd.c (suppress_resume_observer): Delete. * inferior.h (suppress_resume_observer): Delete declaration. * mi/mi-interp.c (mi_on_resume): Suppress output while calling an inferior function. * thread.c (set_running): Remove references to suppress_resume_observer. * infrun.c (struct inferior_status): Add in_infcall member. (save_inferior_status): Save it. (restore_inferior_status): Restore it.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 0d5dce9..fcabd3a 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -166,9 +166,6 @@ int stopped_by_random_signal;
in format described in environ.h. */
struct gdb_environ *inferior_environ;
-
-/* When set, no calls to target_resumed observer will be made. */
-int suppress_resume_observer = 0;
/* Accessor routines. */