diff options
Diffstat (limited to 'debug')
-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 5450adb..ebc591c 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -1415,7 +1415,7 @@ class TriggerDmode(TriggerTest): 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}]") |