# HG changeset patch # User Michael Pavone # Date 1453070185 28800 # Node ID 38dca41f151d5550d4687ff2f42fef5b777d7401 # Parent 2e465934bddce95ca61784c7562fa6470ae480d9 Initialize commands field of breakpoint struct to NULL. Remove a debug printf diff -r 2e465934bddc -r 38dca41f151d debug.c --- 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); }