summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-11-11 17:10:46 +0100
committerPavel Labath <pavel@labath.sk>2019-11-11 17:29:48 +0100
commit135a493f34561219d67251b58a482cd3fc6416b9 (patch)
tree620ab1b03ebe80e0ffcedeb0bdf9fb6595ec36b6 /lldb/packages/Python/lldbsuite/test
parent4edf0cb0e03e31d468979d0d7dec08bd9f4f8204 (diff)
downloadbcm5719-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.py4
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"
OpenPOWER on IntegriCloud