From: msquirogac Date: Sat, 20 Jun 2020 22:45:50 +0000 (-0400) Subject: gdb monitor command clean-up X-Git-Tag: v1.7~21^2~1 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=110aadf0e7db6760d303d97ee055d9d87d103bff;p=sx%2Fsimavr.git gdb monitor command clean-up --- diff --git a/simavr/sim/sim_gdb.c b/simavr/sim/sim_gdb.c index 906d1ae..b5f4bf1 100644 --- a/simavr/sim/sim_gdb.c +++ b/simavr/sim/sim_gdb.c @@ -359,14 +359,11 @@ gdb_handle_command( avr->state = cpu_StepDone; avr_reset(avr); args += 10; - printf("Reset\n"); // Remove } else if (strncmp(args, "68616c74", 8) == 0) { // halt matched avr->state = cpu_Stopped; args += 8; - printf("Halting\n"); // Remove } else if (strncmp(args, "20", 2) == 0) { // space matched args += 2; - printf("Space\n"); // Remove } else{ // no match - end break; @@ -526,7 +523,6 @@ gdb_handle_command( case 'D': { // detach avr->state = cpu_Done; gdb_send_reply(g, "OK"); - printf("Halted\n"); // Remove } break; default: gdb_send_reply(g, "");