Skip to content

Commit

Permalink
[debug] Fix trigger reservation in HwbpManual
Browse files Browse the repository at this point in the history
 Syntax of the command was changed: (on/off) became compulsory.
  • Loading branch information
en-sc committed Sep 5, 2024
1 parent cc3b0f0 commit 76ff703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug/gdbserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def test(self):
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):
Expand Down

0 comments on commit 76ff703

Please sign in to comment.