Debugger: Fix software breakpoints not being properly initialized

This commit is contained in:
Jeffrey Pfau 2015-03-01 12:16:38 -08:00
parent a7985c39ac
commit 31d39bbd1d
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ void ARMDebuggerInit(struct ARMCore* cpu, struct ARMComponent* component) {
debugger->cpu = cpu; debugger->cpu = cpu;
debugger->state = DEBUGGER_RUNNING; debugger->state = DEBUGGER_RUNNING;
debugger->breakpoints = 0; debugger->breakpoints = 0;
debugger->swBreakpoints = 0;
debugger->originalMemory = cpu->memory; debugger->originalMemory = cpu->memory;
debugger->watchpoints = 0; debugger->watchpoints = 0;
debugger->currentBreakpoint = 0; debugger->currentBreakpoint = 0;