summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Expression/GoParserTest.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-11-03 22:42:04 +0000
committerGreg Clayton <gclayton@apple.com>2015-11-03 22:42:04 +0000
commitfc1e77a9865f43ad7c27bf4eea0e44d20a215e03 (patch)
tree75a37264e9c5cd4c615d0417a9445f1fb891c405 /lldb/unittests/Expression/GoParserTest.cpp
parentcd9488d521d281c77a16cb2cc61609acca718a2d (diff)
downloadbcm5719-llvm-fc1e77a9865f43ad7c27bf4eea0e44d20a215e03.tar.gz
bcm5719-llvm-fc1e77a9865f43ad7c27bf4eea0e44d20a215e03.zip
Fix a deadlock when connecting to a remote GDB server that might not support all packets that lldb-server or debugserver supports. The issue was the m_last_stop_packet_mutex mutex was being held by another thread and it was deadlocking getting the thread list. We now try to lock the m_last_stop_packet_mutex, and only continue if we successfully lock it. Else we fall back to qfThreadInfo/qsThreadInfo.
<rdar://problem/22140023> llvm-svn: 252005
Diffstat (limited to 'lldb/unittests/Expression/GoParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud