llvm-project/lldb/packages/Python/lldbsuite/test
Michał Górny 3f1372365a [lldb] Support gdbserver signals
GDB and LLDB use different signal models.  GDB uses a predefined set
of signal codes, and maps platform's signos to them.  On the other hand,
LLDB has historically simply passed native signos.

In order to improve compatibility between LLDB and gdbserver, the GDB
signal model should be used.  However, GDB does not provide a mapping
for all existing signals on Linux and unsupported signals are passed
as 'unknown'.  Limiting LLDB to this behavior could be considered
a regression.

To get the best of both worlds, use the LLDB signal model when talking
to lldb-server, and the GDB signal model otherwise.  For this purpose,
new versions of lldb-server indicate "native-signals+" via qSupported.
At the same time, we also detect older versions of lldb-server
via QThreadSuffixSupported for backwards compatibility.  If neither test
succeeds, we assume gdbserver or another implementation using GDB model.

Differential Revision: https://reviews.llvm.org/D108078
2021-11-10 09:38:55 +01:00
..
builders [lldb/test] Print build commands in trace mode 2021-10-29 11:33:31 +02:00
make [test] Migrate -gcc-toolchain with space separator to --gcc-toolchain= 2021-08-20 15:24:58 -07:00
test_runner [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
tools [lldb] Support gdbserver signals 2021-11-10 09:38:55 +01:00
README-TestSuite [lldb] Reduce code duplication around inferior building 2021-10-19 12:09:41 +02:00
__init__.py
bench.py
concurrent_base.py [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
configuration.py [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
decorators.py [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
dotest.py [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
dotest_args.py [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
lldb_pylint_helper.py
lldbbench.py
lldbdwarf.py [lldb][NFC] Delete unused and commented out DWARF constants 2021-07-26 12:26:35 -07:00
lldbinline.py [lldb/test] Allow indentation in inline tests 2021-10-28 14:39:02 +02:00
lldbpexpect.py [lldb/test] Start pexpect tests with a custom HOME 2021-09-14 15:17:10 +02:00
lldbplatform.py [lldb] Add Apple simulator platforms to lldbplatform.py 2020-11-05 15:34:42 +01:00
lldbplatformutil.py [lldb/test] Ensure launched processes are ready to be attached 2021-01-14 12:07:04 +01:00
lldbtest.py [lldb] Fix cross-platform kills 2021-11-09 15:31:07 +01:00
lldbtest_config.py
lldbutil.py Add tests for the other variants of BreakpointCreateBySourceRegex. 2021-10-18 10:59:04 -07:00
test_categories.py Remove the DarwinLog functionality from debguserver 2021-07-20 00:36:56 -07:00
test_result.py [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00