projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/downloadtest' into debug-tests-more-single
[riscv-tests.git]
/
debug
/
gdbserver.py
diff --git
a/debug/gdbserver.py
b/debug/gdbserver.py
index dd30a3decab5668db62525edf01abac162efe14e..be89d19157b07789be13bad5a105091b393569c5 100755
(executable)
--- a/
debug/gdbserver.py
+++ b/
debug/gdbserver.py
@@
-615,7
+615,7
@@
class MulticoreRunAllHaltOne(GdbTest):
time.sleep(1)
self.gdb.p("buf", fmt="")
time.sleep(1)
self.gdb.p("buf", fmt="")
-class StepTest(GdbTest):
+class StepTest(Gdb
SingleHart
Test):
compile_args = ("programs/step.S", )
def setup(self):
compile_args = ("programs/step.S", )
def setup(self):
@@
-634,7
+634,7
@@
class StepTest(GdbTest):
pc = self.gdb.p("$pc")
assertEqual("%x" % (pc - main_address), "%x" % expected)
pc = self.gdb.p("$pc")
assertEqual("%x" % (pc - main_address), "%x" % expected)
-class TriggerTest(GdbTest):
+class TriggerTest(Gdb
SingleHart
Test):
compile_args = ("programs/trigger.S", )
def setup(self):
self.gdb.load()
compile_args = ("programs/trigger.S", )
def setup(self):
self.gdb.load()
@@
-753,7
+753,7
@@
class TriggerDmode(TriggerTest):
assertIn("clear_triggers", output)
self.check_triggers((1<<6) | (1<<0), 0xfeedac00)
assertIn("clear_triggers", output)
self.check_triggers((1<<6) | (1<<0), 0xfeedac00)
-class RegsTest(GdbTest):
+class RegsTest(Gdb
SingleHart
Test):
compile_args = ("programs/regs.S", )
def setup(self):
self.gdb.load()
compile_args = ("programs/regs.S", )
def setup(self):
self.gdb.load()
@@
-840,7
+840,7
@@
class DownloadTest(GdbTest):
assertEqual(self.gdb.p("status"), self.crc)
os.unlink(self.download_c.name)
assertEqual(self.gdb.p("status"), self.crc)
os.unlink(self.download_c.name)
-#class MprvTest(GdbTest):
+#class MprvTest(Gdb
SingleHart
Test):
# compile_args = ("programs/mprv.S", )
# def setup(self):
# self.gdb.load()
# compile_args = ("programs/mprv.S", )
# def setup(self):
# self.gdb.load()
@@
-853,7
+853,7
@@
class DownloadTest(GdbTest):
# output = self.gdb.command("p/x *(int*)(((char*)&data)-0x80000000)")
# assertIn("0xbead", output)
# output = self.gdb.command("p/x *(int*)(((char*)&data)-0x80000000)")
# assertIn("0xbead", output)
-class PrivTest(GdbTest):
+class PrivTest(Gdb
SingleHart
Test):
compile_args = ("programs/priv.S", )
def setup(self):
# pylint: disable=attribute-defined-outside-init
compile_args = ("programs/priv.S", )
def setup(self):
# pylint: disable=attribute-defined-outside-init