public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, alpha, go]: Remove PtraceRegs definition to restore bootstrap
@ 2017-06-26  7:24 Uros Bizjak
  2017-06-26 17:59 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Uros Bizjak @ 2017-06-26  7:24 UTC (permalink / raw)
  To: gcc-patches; +Cc: Ian Taylor, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

Hello!

libgo is now able to automatically determine PtraceRegs. Attached
patch removes duplicate manual definition from system dependent
source.

Bootstrapped and regression tested on alphaev68-linux-gnu.

Uros.

[-- Attachment #2: g.diff.txt --]
[-- Type: text/plain, Size: 833 bytes --]

Index: go/syscall/syscall_linux_alpha.go
===================================================================
--- go/syscall/syscall_linux_alpha.go	(revision 249592)
+++ go/syscall/syscall_linux_alpha.go	(working copy)
@@ -8,38 +8,6 @@
 
 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
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, alpha, go]: Remove PtraceRegs definition to restore bootstrap
  2017-06-26  7:24 [PATCH, alpha, go]: Remove PtraceRegs definition to restore bootstrap Uros Bizjak
@ 2017-06-26 17:59 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2017-06-26 17:59 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: gcc-patches, gofrontend-dev

On Mon, Jun 26, 2017 at 12:24 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
> libgo is now able to automatically determine PtraceRegs. Attached
> patch removes duplicate manual definition from system dependent
> source.
>
> Bootstrapped and regression tested on alphaev68-linux-gnu.

Thanks.

Committed to mainline.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-26 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26  7:24 [PATCH, alpha, go]: Remove PtraceRegs definition to restore bootstrap Uros Bizjak
2017-06-26 17:59 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).