Skip to content

Commit

Permalink
Check the mcontrol triggers, no other triggers.
Browse files Browse the repository at this point in the history
Signed-off-by: liangzhen <[email protected]>
Change-Id: Iac914aef8080411e6acd9039c4bdfa728533103c
  • Loading branch information
lz-bro committed Feb 4, 2024
1 parent 67e7759 commit f83ba40
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 @@ -1415,7 +1415,7 @@ def check_triggers(self, tdata1_lsbs, tdata2):
i = 0
for i in range(16):
tdata1 = self.gdb.p(f"(({xlen_type} *)&data)[{2*i}]")
if tdata1 == 0:
if (tdata1 == 0) or (tdata1 >> (self.hart.xlen-4) == 15):
break
tdata2 = self.gdb.p(f"(({xlen_type} *)&data)[{2*i+1}]")

Expand Down

0 comments on commit f83ba40

Please sign in to comment.