1 // Copyright 2016 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
6 // +build mips mipsle mips64 mips64le mips64p32 mips64p32le
12 func (r
*PtraceRegs
) PC() uint64 {
16 func (r
*PtraceRegs
) SetPC(pc
uint64) {
20 func PtraceGetRegs(pid
int, regsout
*PtraceRegs
) (err error
) {
21 return ptrace(PTRACE_GETREGS
, pid
, 0, uintptr(unsafe
.Pointer(regsout
)))
24 func PtraceSetRegs(pid
int, regs
*PtraceRegs
) (err error
) {
25 return ptrace(PTRACE_SETREGS
, pid
, 0, uintptr(unsafe
.Pointer(regs
)))
28 func rawVforkSyscall(trap
, a1
uintptr) (r1
uintptr, err Errno
) {
29 panic("not implemented")