Skip to content

Commit

Permalink
Fix dr6 mask (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao authored Feb 21, 2024
1 parent 3e6dff8 commit ba427c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hld/Debugger.hx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class Debugger {

// check if we have a break on a watchpoint
var dr6 = api.readRegister(tid, Dr6);
var watchBits = dr6.toInt() & 7;
var watchBits = dr6.toInt() & 15;
if( watchBits != 0 ) {
for( w in watches )
for( r in w.regs )
Expand Down

0 comments on commit ba427c1

Please sign in to comment.