From 9c7d9c59445e84e2c439030deba298ee373faec9 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Sat, 16 Jan 2016 12:37:42 -0800 Subject: [PATCH] sys: DEBUGBREAK --- src/sys/driver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/driver.h b/src/sys/driver.h index 88e5415d..60a87fa6 100644 --- a/src/sys/driver.h +++ b/src/sys/driver.h @@ -40,12 +40,12 @@ /* DEBUGBREAK */ #if DBG -extern __declspec(selectany) int bpglobal = 1; +extern __declspec(selectany) int fsp_bp = 1; #define DEBUGBREAK() \ do \ { \ static int bp = 1; \ - if (bp && bpglobal && !KD_DEBUGGER_NOT_PRESENT)\ + if (bp && fsp_bp && !KD_DEBUGGER_NOT_PRESENT)\ DbgBreakPoint(); \ } while (0,0) #else