OSDN Git Service

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)
commit78bb17fc78061d7372e9a81e29dcf4a757baa841
treef8840467ec96cfe9052c3e2338217c77f769b9d9
parent4d8c85184e2849414323f56894c3ddc255d0fa81
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