Commit 0f800505 authored by Shenghou Ma's avatar Shenghou Ma

runtime: fix runtime.Breakpoint for ARM

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6100053
parent dee62a44
......@@ -60,7 +60,9 @@ TEXT _rt0_arm(SB),7,$-4
MOVW R0, (R1) // fail hard
TEXT runtime·breakpoint(SB),7,$0
// no breakpoint yet; let program exit
// gdb won't skip this breakpoint instruction automatically,
// so you must manually "set $pc+=4" to skip it and continue.
WORD $0xe1200071 // BKPT 0x0001
RET
TEXT runtime·asminit(SB),7,$0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment