diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-11-06 13:44:21 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-11-06 13:44:21 -0800 |
commit | 9730e62a5e917d5c88bd7626259efb73c26ba73e (patch) | |
tree | fe914029371ed2923e8916d914e5162256960ca0 | |
parent | 70be447f74b87c11557d2b5b1463005fddb0495a (diff) |
Properly initialize commands when adding a new breakpoint
-rw-r--r-- | debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -402,6 +402,7 @@ z80_context * zdebugger(z80_context * context, uint16_t address) new_bp->next = zbreakpoints; new_bp->address = value; new_bp->index = zbp_index++; + new_bp->commands = NULL; zbreakpoints = new_bp; printf("Z80 Breakpoint %d set at %X\n", new_bp->index, value); break; |