Mercurial > repos > blastem
changeset 919:38dca41f151d
Initialize commands field of breakpoint struct to NULL. Remove a debug printf
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 17 Jan 2016 14:36:25 -0800 |
parents | 2e465934bddc |
children | e64168bb2b25 |
files | debug.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/debug.c Wed Dec 30 19:00:03 2015 -0800 +++ b/debug.c Sun Jan 17 14:36:25 2016 -0800 @@ -528,7 +528,6 @@ case 'c': if (input_buf[1] == 0 || input_buf[1] == 'o' && input_buf[2] == 'n') { - printf("%X, %X\n", input_buf[1], input_buf[2]); puts("Continuing"); return 0; } else if (input_buf[1] == 'o' && input_buf[2] == 'm') { @@ -606,6 +605,7 @@ new_bp->next = breakpoints; new_bp->address = value; new_bp->index = bp_index++; + new_bp->commands = NULL; breakpoints = new_bp; printf("68K Breakpoint %d set at %X\n", new_bp->index, value); }