Mercurial > repos > blastem
diff debug.c @ 867:bacd67a82d58
Properly initialize commands when adding a new breakpoint
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 06 Nov 2015 13:44:21 -0800 |
parents | 305c85c0b954 |
children | 38dca41f151d |
line wrap: on
line diff
--- a/debug.c Fri Nov 06 12:19:39 2015 -0800 +++ b/debug.c Fri Nov 06 13:44:21 2015 -0800 @@ -402,6 +402,7 @@ 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;