syscall: don't define PtraceRegs for Alpha

It's now defined by mksysinfo.sh.
    
    Patch by Uros Bizjak.
    
    Reviewed-on: https://go-review.googlesource.com/46712

From-SVN: r249663
This commit is contained in:
Ian Lance Taylor 2017-06-26 17:59:12 +00:00
parent 0bcce674a7
commit b5df99f741
2 changed files with 1 additions and 33 deletions

View File

@ -1,4 +1,4 @@
1b4c2bcaa96f7f40538fd8fff308ad92ea6f482e
bfb18fb16194826bf2bf2d7af873719ddb5e8e42
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -8,38 +8,6 @@ package syscall
import "unsafe"
type PtraceRegs struct {
R0 uint64
R1 uint64
R2 uint64
R3 uint64
R4 uint64
R5 uint64
R6 uint64
R7 uint64
R8 uint64
R19 uint64
R20 uint64
R21 uint64
R22 uint64
R23 uint64
R24 uint64
R25 uint64
R26 uint64
R27 uint64
R28 uint64
Hae uint64
Trap_a0 uint64
Trap_a1 uint64
Trap_a2 uint64
Ps uint64
Pc uint64
Gp uint64
R16 uint64
R17 uint64
R18 uint64
}
func (r *PtraceRegs) PC() uint64 {
return r.Pc
}