aboutsummaryrefslogtreecommitdiff
path: root/debug/targets
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2020-06-25 15:34:27 -0700
committerGitHub <noreply@github.com>2020-06-25 15:34:27 -0700
commit08674a7bca3456d8c7dd5aff32e01203b4c02496 (patch)
treeb1098314b8767a245f18ca774f8b001f65d27a4d /debug/targets
parent944704e224e534d5371fe6da246552c7f7fe831a (diff)
downloadriscv-tests-08674a7bca3456d8c7dd5aff32e01203b4c02496.zip
riscv-tests-08674a7bca3456d8c7dd5aff32e01203b4c02496.tar.gz
riscv-tests-08674a7bca3456d8c7dd5aff32e01203b4c02496.tar.bz2
Add manual hwbp test. (#283)
Make sure OpenOCD cooperates when a user sets a trigger by writing tselect/tdata* directly.
Diffstat (limited to 'debug/targets')
-rw-r--r--debug/targets/RISC-V/spike32-2-rtos.py1
-rw-r--r--debug/targets/RISC-V/spike64-2-rtos.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/debug/targets/RISC-V/spike32-2-rtos.py b/debug/targets/RISC-V/spike32-2-rtos.py
index e221353..ce0d56d 100644
--- a/debug/targets/RISC-V/spike32-2-rtos.py
+++ b/debug/targets/RISC-V/spike32-2-rtos.py
@@ -11,6 +11,7 @@ class spike32_2(targets.Target):
implements_custom_test = True
support_hasel = False
test_semihosting = False
+ support_manual_hwbp = False # not supported with `-rtos riscv`
def create(self):
return testlib.Spike(self, progbufsize=0, dmi_rti=4,
diff --git a/debug/targets/RISC-V/spike64-2-rtos.py b/debug/targets/RISC-V/spike64-2-rtos.py
index 3b9c1d8..2062f6d 100644
--- a/debug/targets/RISC-V/spike64-2-rtos.py
+++ b/debug/targets/RISC-V/spike64-2-rtos.py
@@ -11,6 +11,7 @@ class spike64_2_rtos(targets.Target):
implements_custom_test = True
support_hasel = False
test_semihosting = False
+ support_manual_hwbp = False # not supported with `-rtos riscv`
def create(self):
return testlib.Spike(self, abstract_rti=30, support_hasel=False,