We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 029adf4 commit 24e0635Copy full SHA for 24e0635
lldb/test/API/functionalities/gdb_remote_client/TestqOffsets.py
@@ -10,13 +10,10 @@ class Responder(MockGDBServerResponder):
10
def qOffsets(self):
11
return "Text=470000;Data=470000"
12
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
-
18
def test(self):
19
self.server.responder = TestqOffsets.Responder()
+ # This ensures that we do not pick up any binaries on the host.
+ self.runCmd("platform select remote-linux")
20
target = self.createTarget("qOffsets.yaml")
21
text = target.modules[0].FindSection(".text")
22
self.assertEqual(text.GetLoadAddress(target), lldb.LLDB_INVALID_ADDRESS)
0 commit comments