aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-06-13 20:19:19 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-06-13 20:19:19 +0000
commit8f6a8e8417fa1e8191993f4869628460605e6221 (patch)
tree3e380f8cf21b6666371b7e76d15eb8e93f73de04 /gdb/inferior.h
parentfa452fa6833cbb3088361ac35f4c51716afde520 (diff)
downloadgdb-8f6a8e8417fa1e8191993f4869628460605e6221.zip
gdb-8f6a8e8417fa1e8191993f4869628460605e6221.tar.gz
gdb-8f6a8e8417fa1e8191993f4869628460605e6221.tar.bz2
Don't suppress *running when doing finish.
* infcall.c (call_function_by_hand): Set both suppress_resume_observer and suppress_stop_observer. * infcmd.c (suppress_run_stop_observers): Split into... (suppress_resume_observer, suppress_stop_observer): ...those. (finish_command_continuation): Clear suppress_stop_observer. (finish_command): Set suppress_stop_observer. * inferior.h (suppress_run_stop_observers): Split into... (suppress_resume_observer, suppress_stop_observer): ...those. * infrun.c (normal_stop): Check for suppress_stop_observer. * thread.c (set_running): Check for suppress_resume_observer.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 1042a44..dd07efa 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -393,7 +393,11 @@ void displaced_step_dump_bytes (struct ui_file *file,
/* When set, normal_stop will not call the normal_stop observer. */
-extern int suppress_run_stop_observers;
+extern int suppress_stop_observer;
+
+/* When set, no calls to target_resumed observer will be made. */
+extern int suppress_resume_observer;
+
/* Possible values for gdbarch_call_dummy_location. */
#define ON_STACK 1