• Russ Cox's avatar
    runtime: fix traceback of trap on ARM · d889f5f0
    Russ Cox authored
    The merged traceback was wrong for LR machines,
    because traceback didn't pass lr to gentraceback.
    Now that we have a test looking at traceback output
    for a trap (the test of runtime.Breakpoint),
    we caught this.
    
    While we're here, fix a 'set and not used' warning.
    
    Fixes arm build.
    
    TBR=r
    R=r
    CC=golang-codereviews
    https://golang.org/cl/143040043
    d889f5f0
mgc0.c 53.7 KB