Don't suppress *running when doing finish.
authorVladimir Prus <vladimir@codesourcery.com>
Fri, 13 Jun 2008 20:19:19 +0000 (20:19 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Fri, 13 Jun 2008 20:19:19 +0000 (20:19 +0000)
commit8f6a8e8417fa1e8191993f4869628460605e6221
tree3e380f8cf21b6666371b7e76d15eb8e93f73de04
parentfa452fa6833cbb3088361ac35f4c51716afde520
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.
gdb/ChangeLog
gdb/infcall.c
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c
gdb/thread.c