Link the infinate loop at 0x10000000
[riscv-tests.git] / debug / testlib.py
index ecb0431e128e5d3941245821c5a275f4eaabe899..858c75cb43ba45206aaf7e58c652df9216640e0a 100644 (file)
@@ -74,6 +74,8 @@ class Spike(object):
         if timeout:
             cmd = ["timeout", str(timeout)] + cmd
 
+        cmd += ["-m0x10000000:0x10000000"]
+
         if halted:
             cmd.append('-H')
         if with_jtag_gdb: