On overloaded systems, when executing compare-sections, otherwise gdb
might hit a timeout and the compare-sections code doesn't deal with it.
(You get an error message complaining that 130 is not a valid hex
digit.)
class spike32_2(targets.Target):
harts = [spike32.spike32_hart(), spike32.spike32_hart()]
openocd_config_path = "spike.cfg"
+ timeout_sec = 30
def create(self):
return testlib.Spike(self)
class spike32(targets.Target):
harts = [spike32_hart()]
openocd_config_path = "spike.cfg"
+ timeout_sec = 30
def create(self):
return testlib.Spike(self)
class spike64_2(targets.Target):
harts = [spike64.spike64_hart(), spike64.spike64_hart()]
openocd_config_path = "spike.cfg"
+ timeout_sec = 30
def create(self):
return testlib.Spike(self)
--- /dev/null
+import targets
+import testlib
+
+import spike64
+
+class spike64_2gdb(targets.Target):
+ harts = [spike64.spike64_hart(), spike64.spike64_hart()]
+ openocd_config_path = "spike-2gdb.cfg"
+
+ def create(self):
+ return testlib.Spike(self)
class spike64(targets.Target):
harts = [spike64_hart()]
openocd_config_path = "spike.cfg"
+ timeout_sec = 30
def create(self):
return testlib.Spike(self)