Initialize debugger->lastCommand

This commit is contained in:
Jeffrey Pfau 2013-04-14 03:47:11 -07:00
parent cd75d3b399
commit 82a4fa094b
1 changed files with 1 additions and 0 deletions

View File

@ -521,6 +521,7 @@ static void _commandLine(struct ARMDebugger* debugger) {
void ARMDebuggerInit(struct ARMDebugger* debugger, struct ARMCore* cpu) {
debugger->cpu = cpu;
debugger->state = DEBUGGER_PAUSED;
debugger->lastCommand = 0;
}
void ARMDebuggerRun(struct ARMDebugger* debugger) {