llvm-project/lldb
Pavel Labath 9e131f7fef Fix race condition in process resume
Summary:
Gdb-remote's async thread sent out the eBroadcastBitRunPacketSent message *before* actually
sending out the continue packet. Since it's this message the actually triggers the public state
transition, it could happen (and it did happen in TestAttachResume, which does an "process
interrupt" right after a continue) that we attempt to stop the inferior before it was actually
started (which obviously did not end well). This fixes the problem by moving the broadcast after
the packet was actually sent.

Reviewers: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D14083

llvm-svn: 251399
2015-10-27 09:23:55 +00:00
..
cmake Disable the strict-aliasing warnings produced by gcc 2015-10-23 10:34:53 +00:00
docs Have debugserver send the OS version string plus 2015-08-12 03:27:33 +00:00
examples Fix tabs and spaces in one of the python files. 2015-10-26 16:51:36 +00:00
include Minor cleanup of SBTypeSummary::CreateWithCallback to take an optional description argument 2015-10-27 01:17:28 +00:00
lib Add initial gmake glue for the NetBSD platform 2015-10-24 01:28:24 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Xcode: added lldb-gtest target to build and run the gtests in the unittests directory. 2015-10-25 21:42:35 +00:00
lldb.xcworkspace Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
resources Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00
scripts Add calls to the SB API to access the multi-language formatter category feature 2015-10-27 01:10:35 +00:00
source Fix race condition in process resume 2015-10-27 09:23:55 +00:00
test Fix race condition in process resume 2015-10-27 09:23:55 +00:00
third_party/Python/module Move third party libraries to lldb/third_party 2015-10-22 19:55:01 +00:00
tools Remove some unnecessary macosx.internal SDK settings in 2015-10-25 06:51:37 +00:00
unittests Fix a copy-and-paste error on new Editline test cmake configuration. 2015-10-25 21:54:56 +00:00
utils syncsource.py: a specific dir's source_excludes may now include the special entry "<no-defaults>". 2015-10-08 17:43:02 +00:00
www Support RHEL 7 and similar systems that use architecture-specific Python lib dirs 2015-10-12 20:12:27 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Update build instructions / coding conventions. 2015-03-10 23:22:25 +00:00
.gitignore Fix .gitignore to ignore symlinks. 2015-03-31 00:03:00 +00:00
CMakeLists.txt Fix Android build. 2015-10-07 00:01:06 +00:00
CODE_OWNERS.txt Convert CRLF to LF in CODE_OWNERS.txt 2015-03-23 14:00:54 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
Makefile Test commit 2015-07-22 08:41:18 +00:00
lldb.root Introduce a mechanism for reusing Python modules out of tree. 2015-10-20 21:05:57 +00:00
lldb_shared_base.py Remove special case logic for finding 3rd party libs 2015-10-22 19:55:18 +00:00