Skip to content

Commit 24e0635

Browse files
DavidSpicketttstellar
authored andcommitted
platform select instead
1 parent 029adf4 commit 24e0635

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ class Responder(MockGDBServerResponder):
1010
def qOffsets(self):
1111
return "Text=470000;Data=470000"
1212

13-
def qfThreadInfo(self):
14-
# Prevent LLDB defaulting to PID of 1 and looking up some other
15-
# process when on an AArch64 host.
16-
return "m-1"
17-
1813
def test(self):
1914
self.server.responder = TestqOffsets.Responder()
15+
# This ensures that we do not pick up any binaries on the host.
16+
self.runCmd("platform select remote-linux")
2017
target = self.createTarget("qOffsets.yaml")
2118
text = target.modules[0].FindSection(".text")
2219
self.assertEqual(text.GetLoadAddress(target), lldb.LLDB_INVALID_ADDRESS)

0 commit comments

Comments
 (0)