Skip to content

Commit f83ba40

Browse files
committed
Check the mcontrol triggers, no other triggers.
Signed-off-by: liangzhen <[email protected]> Change-Id: Iac914aef8080411e6acd9039c4bdfa728533103c
1 parent 67e7759 commit f83ba40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug/gdbserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ def check_triggers(self, tdata1_lsbs, tdata2):
14151415
i = 0
14161416
for i in range(16):
14171417
tdata1 = self.gdb.p(f"(({xlen_type} *)&data)[{2*i}]")
1418-
if tdata1 == 0:
1418+
if (tdata1 == 0) or (tdata1 >> (self.hart.xlen-4) == 15):
14191419
break
14201420
tdata2 = self.gdb.p(f"(({xlen_type} *)&data)[{2*i+1}]")
14211421

0 commit comments

Comments
 (0)