aboutsummaryrefslogtreecommitdiff
path: root/debug/testlib.py
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-05-16 12:34:45 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-05-16 12:48:05 -0700
commit771bb94e09ad1915c18a581ba35edd75c8903837 (patch)
tree024b9c0698f65af03d5754a800cecff7bfdf1555 /debug/testlib.py
parentcfa5b6dbf36e5e08749fa8b0792271d02196504d (diff)
downloadriscv-tests-771bb94e09ad1915c18a581ba35edd75c8903837.zip
riscv-tests-771bb94e09ad1915c18a581ba35edd75c8903837.tar.gz
riscv-tests-771bb94e09ad1915c18a581ba35edd75c8903837.tar.bz2
Link the infinate loop at 0x10000000
Spike appears to have a problem geterating DTS at 0x80000000.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r--debug/testlib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index ecb0431..858c75c 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -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: