diff options
author | Pavel Labath <pavel@labath.sk> | 2019-11-11 17:10:46 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-11-11 17:29:48 +0100 |
commit | 135a493f34561219d67251b58a482cd3fc6416b9 (patch) | |
tree | 620ab1b03ebe80e0ffcedeb0bdf9fb6595ec36b6 /lldb/packages/Python/lldbsuite/test | |
parent | 4edf0cb0e03e31d468979d0d7dec08bd9f4f8204 (diff) | |
download | bcm5719-llvm-135a493f34561219d67251b58a482cd3fc6416b9.tar.gz bcm5719-llvm-135a493f34561219d67251b58a482cd3fc6416b9.zip |
Fix TestNoGPacketSupported on linux
The mock server pretends the process stopped with signal 17, which is
SIGCHLD on linux. This causes lldb to resume to process, utterly
confusing the test. Lldb probably shouldn't resume in this case, but for
now this issue can be fixed by changing the signal number to 2, which is
SIGINT just about anywhere.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py b/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py index 989684c6222..c9404d41924 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py @@ -26,10 +26,10 @@ class TestNoGPacketSupported(GDBRemoteTestBase): def test(self): class MyResponder(MockGDBServerResponder): def haltReason(self): - return "T11thread:1ff0d;threads:1ff0d;thread-pcs:000000010001bc00;00:7882773ce0ffffff;01:1122334455667788;03:00bc010001000000;" + return "T02thread:1ff0d;threads:1ff0d;thread-pcs:000000010001bc00;00:7882773ce0ffffff;01:1122334455667788;03:00bc010001000000;" def threadStopInfo(self, threadnum): - return "T11thread:1ff0d;threads:1ff0d;thread-pcs:000000010001bc00;00:7882773ce0ffffff;01:1122334455667788;03:00bc010001000000;" + return "T02thread:1ff0d;threads:1ff0d;thread-pcs:000000010001bc00;00:7882773ce0ffffff;01:1122334455667788;03:00bc010001000000;" def writeRegisters(self): return "E02" |