1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:44:40 -07:00

runtime: fix runtime.Breakpoint for ARM

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6100053
This commit is contained in:
Shenghou Ma 2012-04-24 23:19:44 +08:00
parent dee62a440c
commit 0f80050542

View File

@ -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