Skip to content

Commit

Permalink
cortexa: Drop the core out of halting debug mode if resuming and it's…
Browse files Browse the repository at this point in the history
… not for single-stepping
  • Loading branch information
dragonmux committed Sep 27, 2023
1 parent 51e7877 commit 0ea768b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/cortexa.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ void cortexa_halt_resume(target_s *t, bool step)
if (step)
dbgdscr |= DBGDSCR_INTDIS;
else
dbgdscr &= ~DBGDSCR_INTDIS;
dbgdscr &= ~(DBGDSCR_INTDIS | CORTEXAR_DBG_DSCR_HALT_DBG_ENABLE);
dbgdscr &= ~CORTEXAR_DBG_DSCR_ITR_ENABLE;
cortex_dbg_write32(t, CORTEXAR_DBG_DSCR, dbgdscr);

Expand Down

0 comments on commit 0ea768b

Please sign in to comment.