Skip to content

Commit

Permalink
Merge pull request buserror#508 from juhdanad/gdb-next-instruction-fix
Browse files Browse the repository at this point in the history
Fix step and next instructions in avr-gdb debugging
  • Loading branch information
buserror authored Aug 11, 2023
2 parents 032e4c7 + fa99620 commit 3e42d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simavr/sim/sim_gdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ avr_gdb_processor(
gdb_send_stop_status(g, 5, "hwbreak", NULL);
avr->state = cpu_Stopped;
} else if (avr->state == cpu_StepDone) {
gdb_send_quick_status(g, 0);
gdb_send_stop_status(g, 5, "hwbreak", NULL);
avr->state = cpu_Stopped;
} else {
/* Look for gdb input every GDB_BURST instructions. */
Expand Down

0 comments on commit 3e42d03

Please sign in to comment.