We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 110aadf commit 13b5c33Copy full SHA for 13b5c33
simavr/sim/sim_gdb.c
@@ -350,10 +350,9 @@ gdb_handle_command(
350
}
351
} else if (strncmp(cmd, "Rcmd", 4) == 0) { // monitor command
352
char * args = strchr(cmd, ',');
353
- if (args != NULL)
354
- {
+ if (args != NULL) {
355
args++;
356
- while(args != 0x00) {
+ while (args != 0x00) {
357
printf("%s",args);
358
if (strncmp(args, "7265736574", 10) == 0) { // reset matched
359
avr->state = cpu_StepDone;
@@ -364,10 +363,8 @@ gdb_handle_command(
364
363
args += 8;
365
} else if (strncmp(args, "20", 2) == 0) { // space matched
366
args += 2;
367
- }
368
- else{ // no match - end
+ } else // no match - end
369
break;
370
371
372
373
gdb_send_reply(g, "OK");
0 commit comments