From 31d39bbd1d0f12e9e8af43830b0965142b78dfc1 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 1 Mar 2015 12:16:38 -0800 Subject: [PATCH] Debugger: Fix software breakpoints not being properly initialized --- src/debugger/debugger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/debugger/debugger.c b/src/debugger/debugger.c index aecdaaba0..9ac053115 100644 --- a/src/debugger/debugger.c +++ b/src/debugger/debugger.c @@ -53,6 +53,7 @@ void ARMDebuggerInit(struct ARMCore* cpu, struct ARMComponent* component) { debugger->cpu = cpu; debugger->state = DEBUGGER_RUNNING; debugger->breakpoints = 0; + debugger->swBreakpoints = 0; debugger->originalMemory = cpu->memory; debugger->watchpoints = 0; debugger->currentBreakpoint = 0;