From b5df99f74107846d3ac8034d29f4e8b67271efe1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 26 Jun 2017 17:59:12 +0000 Subject: [PATCH] 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 --- gcc/go/gofrontend/MERGE | 2 +- libgo/go/syscall/syscall_linux_alpha.go | 32 ------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 72d12b46ebc..38f08feddf7 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -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. diff --git a/libgo/go/syscall/syscall_linux_alpha.go b/libgo/go/syscall/syscall_linux_alpha.go index 713546cb057..5115b9b7c21 100644 --- a/libgo/go/syscall/syscall_linux_alpha.go +++ b/libgo/go/syscall/syscall_linux_alpha.go @@ -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 } -- 2.30.2