LR35902: Fix breakpoint clearing breaking memory access
Vicki Pfau vi@endrift.com
Sat, 23 Jun 2018 16:35:12 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/lr35902/debugger/debugger.c
→
src/lr35902/debugger/debugger.c
@@ -69,6 +69,7 @@
void LR35902DebuggerInit(void* cpu, struct mDebuggerPlatform* platform) { struct LR35902Debugger* debugger = (struct LR35902Debugger*) platform; debugger->cpu = cpu; + debugger->originalMemory = debugger->cpu->memory; LR35902DebugBreakpointListInit(&debugger->breakpoints, 0); LR35902DebugWatchpointListInit(&debugger->watchpoints, 0); }