Re: [gofrontend-dev] [PATCH] PR81393: S/390: libgo: Fix ptrace register set accessors.

2017-07-12 Thread Ian Lance Taylor
On Wed, Jul 12, 2017 at 7:44 AM, Andreas Krebbel wrote: > > ptrace SETREGS and GETREGS were never supported on S/390. The macros > were accidentally defined in the Glibc header though. A recent Glibc > change removed them breaking libgo build on S/390. > > This patch

[PATCH] PR81393: S/390: libgo: Fix ptrace register set accessors.

2017-07-12 Thread Andreas Krebbel
ptrace SETREGS and GETREGS were never supported on S/390. The macros were accidentally defined in the Glibc header though. A recent Glibc change removed them breaking libgo build on S/390. This patch changes the ptrace calls to use PEEKUSR_AREA/POKEUSR_AREA to access the register sets. That's