Fix a race condition between "ephemeral watchpoint disable/enable" and continue in...
authorJim Ingham <jingham@apple.com>
Fri, 21 Oct 2016 00:06:38 +0000 (00:06 +0000)
committerJim Ingham <jingham@apple.com>
Fri, 21 Oct 2016 00:06:38 +0000 (00:06 +0000)
commit94bd575c73f60de157a0e7103d76d50ee7d7d1de
treef90159145c257993e93533d3d4b9ee4ffc970957
parent5f8878fa5e88b12b721c080a1190bd3758a79c19
Fix a race condition between "ephemeral watchpoint disable/enable" and continue in commands.

Also, watchpoint commands, like breakpoint commands, need to run in async mode.

This was causing intermittent failures in TestWatchpointCommandPython.py, which is now solid.

llvm-svn: 284795
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
lldb/source/Breakpoint/Watchpoint.cpp
lldb/source/Target/StopInfo.cpp