teak-llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server
Michał Górny 8d9400b65b [lldb] [Process/NetBSD] Improve threading support
Implement major improvements to multithreaded program support.  Notably,
support tracking new and exited threads, associate signals and events
with correct threads and support controlling individual threads when
resuming.

Firstly, use PT_SET_EVENT_MASK to enable reporting of created and exited
threads via SIGTRAP.  Handle TRAP_LWP events to keep track
of the currently running threads.

Secondly, update the signal (both generic and SIGTRAP) handling code
to account for per-thread signals correctly.  Signals delivered
to the whole process are reported on all threads, while per-thread
signals and events are reported only to the specific thread.
The remaining threads are marked as 'stopped with no reason'.  Note that
NetBSD always stops all threads on debugger events.

Thirdly, implement the ability to set every thread as running, stopped
or single-stepping separately while continuing the process.  This also
provides the ability to send a signal to the whole process or to one
of its thread while resuming.

Differential Revision: https://reviews.llvm.org/D70022
2019-11-25 20:11:58 +01:00
..
commandline Unify timeouts in gdbserver tests and ensure they are larger if ASAN is enabled. 2019-10-21 17:19:42 +00:00
inferior-crash Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO 2019-09-27 18:52:34 +00:00
libraries-svr4 [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
platform-process-connect [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
register-reading [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
signal-filtering [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
test [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
thread-name [lldb] [Process/NetBSD] Implement thread name getting 2019-11-18 11:21:17 +01:00
.clang-format Restore tests for lldb-server and lldb-vscode removed at rL366590 2019-07-22 23:35:05 +00:00
gdbremote_testcase.py Unify timeouts in gdbserver tests and ensure they are larger if ASAN is enabled. 2019-10-21 17:19:42 +00:00
lldbgdbserverutils.py Update Python tests for lldb-server on Windows 2019-08-14 00:14:15 +00:00
main.cpp Restore tests for lldb-server and lldb-vscode removed at rL366590 2019-07-22 23:35:05 +00:00
Makefile Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO 2019-09-27 18:52:34 +00:00
socket_packet_pump.py Restore tests for lldb-server and lldb-vscode removed at rL366590 2019-07-22 23:35:05 +00:00
TestAppleSimulatorOSType.py Skip Apple simulator test for all remote testing scenarios. 2019-10-09 20:39:04 +00:00
TestGdbRemote_qThreadStopInfo.py [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
TestGdbRemote_vCont.py Update Python tests for lldb-server on Windows 2019-08-14 00:14:15 +00:00
TestGdbRemote_vContThreads.py [lldb] [Process/NetBSD] Improve threading support 2019-11-25 20:11:58 +01:00
TestGdbRemoteAttach.py [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
TestGdbRemoteAuxvSupport.py [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
TestGdbRemoteExitCode.py Restore tests for lldb-server and lldb-vscode removed at rL366590 2019-07-22 23:35:05 +00:00
TestGdbRemoteExpeditedRegisters.py Restore tests for lldb-server and lldb-vscode removed at rL366590 2019-07-22 23:35:05 +00:00
TestGdbRemoteHostInfo.py Upstream macCatalyst support in debugserver and the macOS dynamic loader 2019-09-04 17:23:15 +00:00
TestGdbRemoteKill.py [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
TestGdbRemoteModuleInfo.py Update Python tests for lldb-server on Windows 2019-08-14 00:14:15 +00:00
TestGdbRemoteProcessInfo.py [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
TestGdbRemoteRegisterState.py Restore tests for lldb-server and lldb-vscode removed at rL366590 2019-07-22 23:35:05 +00:00
TestGdbRemoteSingleStep.py Update Python tests for lldb-server on Windows 2019-08-14 00:14:15 +00:00
TestGdbRemoteThreadsInStopReply.py [lldb] [test] Enable lldb-server tests on NetBSD, and set XFAILs 2019-11-18 11:21:16 +01:00
TestLldbGdbServer.py [lldb] [test] Un-XFAIL one lldb-server test on NetBSD 2019-11-20 21:16:34 +01:00