Suppress normal stop observer when it's problematic.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 10 Jun 2008 09:32:05 +0000 (09:32 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 10 Jun 2008 09:32:05 +0000 (09:32 +0000)
commitf5871ec07bfb6388317ec60513286c51ecd06733
treefb1f870d48ce3d69743941437b5b563d65b1b653
parent3d3191a6ad8488986858373778fb8edf7e02715d
Suppress normal stop observer when it's problematic.
        * inferior.h (suppress_normal_stop_observer): New.
        * infcall.c (call_function_by_hand): Disable stop events when
        doing function calls.
        * infmcd.c (suppress_normal_stop_observer): New.
        (finish_command_continuation): Call normal_stop observer
        explicitly.
        (finish_command): Disable stop events inside proceed.
        * infrun.c (normal_stop): Don't call normal stop observer if
        suppressed of if multi-step is in progress.
gdb/ChangeLog
gdb/infcall.c
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c