Add some infrastructure for multicore tests.
[riscv-tests.git] / debug / gdbserver.py
index 78ac9aaebb5403bc3644ccc3eb0cf80c032b46a4..21eea4ed521b2da90c18e301b06838784eb4c20d 100755 (executable)
@@ -708,7 +708,7 @@ class DownloadTest(GdbTest):
         if self.crc < 0:
             self.crc += 2**32
 
-        self.binary = self.hart.compile(self.download_c.name,
+        self.binary = self.target.compile(self.hart, self.download_c.name,
                 "programs/checksum.c")
         self.gdb.command("file %s" % self.binary)