1
0
mirror of https://github.com/beego/bee.git synced 2025-07-07 16:40:19 +00:00

地址更改

This commit is contained in:
guan
2019-07-03 21:43:08 +08:00
parent 277509ab88
commit 71eeb03213
51 changed files with 142 additions and 142 deletions

View File

@ -6,7 +6,7 @@ import (
"errors"
"sync"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
var ErrNativeBackendDisabled = errors.New("native backend disabled during compilation")

View File

@ -6,7 +6,7 @@ import (
"runtime"
"sync"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// Process represents all of the information the debugger

View File

@ -18,7 +18,7 @@ import (
sys "golang.org/x/sys/unix"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// OSProcessDetails holds Darwin specific information.

View File

@ -18,8 +18,8 @@ import (
sys "golang.org/x/sys/unix"
"github.com/derekparker/delve/pkg/proc"
"github.com/derekparker/delve/pkg/proc/linutil"
"github.com/go-delve/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc/linutil"
"github.com/mattn/go-isatty"
)
@ -31,7 +31,7 @@ const (
StatusZombie = 'Z'
// Kernel 2.6 has TraceStop as T
// TODO(derekparker) Since this means something different based on the
// TODO(go-delve) Since this means something different based on the
// version of the kernel ('T' is job control stop on modern 3.x+ kernels) we
// may want to differentiate at some point.
StatusTraceStopT = 'T'

View File

@ -13,7 +13,7 @@ import (
sys "golang.org/x/sys/windows"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// OSProcessDetails holds Windows specific information.

View File

@ -6,7 +6,7 @@ import (
sys "golang.org/x/sys/unix"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// PtraceAttach executes the sys.PtraceAttach call.
@ -69,7 +69,7 @@ func PtraceGetRegset(tid int) (regset proc.LinuxX86Xstate, err error) {
_, _, err = syscall.Syscall6(syscall.SYS_PTRACE, sys.PTRACE_GETREGSET, uintptr(tid), _NT_X86_XSTATE, uintptr(unsafe.Pointer(&iov)), 0, 0)
if err != syscall.Errno(0) {
if err == syscall.ENODEV {
// ignore ENODEV, it just means this CPU or kernel doesn't support XSTATE, see https://github.com/derekparker/delve/issues/1022
// ignore ENODEV, it just means this CPU or kernel doesn't support XSTATE, see https://github.com/go-delve/delve/issues/1022
err = nil
}
return

View File

@ -12,7 +12,7 @@ import (
"golang.org/x/arch/x86/x86asm"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// Regs represents CPU registers on an AMD64 processor.

View File

@ -6,7 +6,7 @@ import (
"golang.org/x/arch/x86/x86asm"
sys "golang.org/x/sys/unix"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// Regs is a wrapper for sys.PtraceRegs.

View File

@ -6,7 +6,7 @@ import (
"golang.org/x/arch/x86/x86asm"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// Regs represents CPU registers on an AMD64 processor.

View File

@ -3,7 +3,7 @@ package native
import (
"fmt"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// Thread represents a single thread in the traced process

View File

@ -12,7 +12,7 @@ import (
sys "golang.org/x/sys/unix"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// WaitStatus is a synonym for the platform-specific WaitStatus

View File

@ -7,7 +7,7 @@ import (
sys "golang.org/x/sys/unix"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
type WaitStatus sys.WaitStatus

View File

@ -6,7 +6,7 @@ import (
sys "golang.org/x/sys/windows"
"github.com/derekparker/delve/pkg/proc"
"github.com/go-delve/delve/pkg/proc"
)
// WaitStatus is a synonym for the platform-specific WaitStatus