Skip to content

Commit

Permalink
gdbstub: cosmetic cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalle authored and Sebastien Bourdeauducq committed Aug 14, 2011
1 parent e6000e3 commit 8682817
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions software/gdbstub/gdbstub.c
Expand Up @@ -673,11 +673,13 @@ void handle_exception(unsigned int *registers)
{
int irq;

/* make sure break is disabled.
/*
* make sure break is disabled.
* we can enter the stub with break enabled when the application calls it.
* there is a race condition here if the break is asserted before
* this line is executed, but the race window is small. to prevent it completely,
* applications should disable debug exceptions before jumping to debug ROM.
* there is a race condition here if the break is asserted before this line
* is executed, but the race window is small. to prevent it completely,
* applications should disable debug exceptions before jumping to debug
* ROM.
*/
CSR_UART_BREAK = 0;

Expand Down

0 comments on commit 8682817

Please sign in to comment.