Skip to content

Commit

Permalink
Fix stopETM to allow it to be called without preceding startETM
Browse files Browse the repository at this point in the history
  • Loading branch information
mubes committed Aug 25, 2024
1 parent f0c6e99 commit 233c34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Support/gdbtrace.init
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ end
# ====================================================================

define stopETM
_setAddressesETM4
if (((*$TRCDEVARCH)&0xfff0ffff) ==0x47704a13)
set *($TRCPRGCTLR) &= ~(1<<0)
while ((*$TRCSTATR)&(1<<0)==0)
Expand Down

0 comments on commit 233c34e

Please sign in to comment.