diff --git a/debug/gdbserver.py b/debug/gdbserver.py index 235814a10..78fde22db 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -711,6 +711,8 @@ def test(self): self.gdb.p("$tdata1=0") tselect += 1 + self.gdb.command(f"monitor riscv reserve_trigger {tselect}") + # The breakpoint should be hit exactly 2 times. for _ in range(2): output = self.gdb.c(ops=2)