diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-13 20:19:19 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-13 20:19:19 +0000 |
commit | 8f6a8e8417fa1e8191993f4869628460605e6221 (patch) | |
tree | 3e380f8cf21b6666371b7e76d15eb8e93f73de04 /gdb/infrun.c | |
parent | fa452fa6833cbb3088361ac35f4c51716afde520 (diff) | |
download | gdb-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/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index cfc3d9b..e951ede 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3772,7 +3772,7 @@ Further execution is probably impossible.\n")); done: annotate_stopped (); - if (!suppress_run_stop_observers && !step_multi) + if (!suppress_stop_observer && !step_multi) observer_notify_normal_stop (stop_bpstat); /* Delete the breakpoint we stopped at, if it wants to be deleted. Delete any breakpoint that is to be deleted at the next stop. */ |