diff options
author | Evgeniy Naydanov <evgeniy.naydanov@syntacore.com> | 2024-09-05 23:19:20 +0300 |
---|---|---|
committer | Evgeniy Naydanov <evgeniy.naydanov@syntacore.com> | 2024-09-05 23:19:20 +0300 |
commit | 76ff703d9161945354e334afa45c5dfe7680da60 (patch) | |
tree | 603ed63ee1c32e97ca4a07b0a31130383d28c345 | |
parent | cc3b0f0026ae4087243ecc68e3da9e477357edb2 (diff) | |
download | riscv-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-x | debug/gdbserver.py | 2 |
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): |