Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
echo *** Preparing for remote debug ***\n
target remote localhost:3333
set arm fallback-mode auto
define ifsr
monitor arm mrc 15 0 5 0 1
end
define ifar
monitor arm mrc 15 0 6 0 2
end
define sctlr
monitor arm mrc 15 0 1 0 0
end
define dacr
monitor arm mrc 15 0 3 0 0
end
define dfsr
monitor arm mrc 15 0 5 0 0
end
define dfar
monitor arm mrc 15 0 6 0 0
end
define va2paw
monitor arm mcr 15 0 7 8 1 $arg1
monitor arm mrc 15 0 7 4 0
end
define va2par
monitor arm mcr 15 0 7 8 0 $arg1
monitor arm mrc 15 0 7 4 0
end
define sedisplay
display/i $pc
end
monitor init
monitor am335x.cpu cortex_a dbginit
monitor reset
monitor halt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment