aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Naydanov <evgeniy.naydanov@syntacore.com>2024-09-05 23:19:20 +0300
committerEvgeniy Naydanov <evgeniy.naydanov@syntacore.com>2024-09-05 23:19:20 +0300
commit76ff703d9161945354e334afa45c5dfe7680da60 (patch)
tree603ed63ee1c32e97ca4a07b0a31130383d28c345
parentcc3b0f0026ae4087243ecc68e3da9e477357edb2 (diff)
downloadriscv-tests-76ff703d9161945354e334afa45c5dfe7680da60.zip
riscv-tests-76ff703d9161945354e334afa45c5dfe7680da60.tar.gz
riscv-tests-76ff703d9161945354e334afa45c5dfe7680da60.tar.bz2
[debug] Fix trigger reservation in HwbpManual
Syntax of the command was changed: (on/off) became compulsory.
-rwxr-xr-xdebug/gdbserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index c8328a0..1280878 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -711,7 +711,7 @@ class HwbpManual(DebugTest):
self.gdb.p("$tdata1=0")
tselect += 1
- self.gdb.command(f"monitor riscv reserve_trigger {tselect}")
+ self.gdb.command(f"monitor riscv reserve_trigger {tselect} on")
# The breakpoint should be hit exactly 2 times.
for _ in range(2):