teak-llvm/lldb/packages/Python/lldbsuite/test/python_api
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
..
breakpoint [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
class_members [lldb] Also test Get[De]mangledName of SBType in TestSBTypeClassMembers.py 2019-11-19 14:04:02 +01:00
debugger [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
default-constructor remove FILE* bindings from SBInstruction. 2019-10-14 20:59:57 +00:00
disassemble-raw-data Fix TestDisassemble_VST1_64 2019-10-15 07:20:01 +00:00
event [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
exprpath_synthetic [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
file_handle [LLDB][PythonFile] fix dangerous borrow semantics on python2 2019-10-30 09:46:51 -07:00
findvalue_duplist Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
formatters Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
frame Mark PR44037 tests as XFAIL on AArch64 Linux dwo 2019-11-19 10:49:00 +01:00
function_symbol [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
hello_world TestHelloWorld: Make compatible with remote testing 2019-10-09 21:41:02 +00:00
interpreter Fix test breakage caused by r374424 2019-10-14 18:53:27 +00:00
lldbutil [lldb] [Process/NetBSD] Improve threading support 2019-11-25 20:11:58 +01:00
module_section [lldb][NFC] Make test/python_api/module_section test smaller 2019-11-04 09:25:01 +01:00
name_lookup [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
objc_type Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
process Ah, only skip this for embedded darwin targets. 2019-09-11 01:03:24 +00:00
rdar-12481949 [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
sbdata [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
sblaunchinfo Add Utility/Environment class for handling... environments 2018-01-10 11:57:31 +00:00
sbstructureddata [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
sbtype_typeclass [lldb] [test] Mark failing tests XFAIL on NetBSD 2019-03-04 16:54:06 +00:00
sbvalue_const_addrof [ScriptInterpreter] Limit LLDB's globals to interactive mode. 2019-09-18 00:30:01 +00:00
sbvalue_persist [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
section [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
signals [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
symbol-context [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
target [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
thread [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
type Add support for DW_AT_export_symbols for anonymous structs 2019-10-28 14:26:54 -07:00
value [Python] Implement __next__ for value_iter 2019-09-04 18:59:13 +00:00
value_var_update Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
watchpoint [lldb] [Process/NetBSD] Improve threading support 2019-11-25 20:11:58 +01:00
.categories