From ba427c1e0b454901f264a6b57637c370b24e28ae Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Wed, 21 Feb 2024 08:17:47 +0100 Subject: [PATCH] Fix dr6 mask (#128) --- hld/Debugger.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hld/Debugger.hx b/hld/Debugger.hx index 9813504..81a77c8 100644 --- a/hld/Debugger.hx +++ b/hld/Debugger.hx @@ -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 )