地址更改

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

@ -28,10 +28,10 @@ import (
"github.com/beego/bee/cmd/commands/version" "github.com/beego/bee/cmd/commands/version"
beeLogger "github.com/beego/bee/logger" beeLogger "github.com/beego/bee/logger"
"github.com/beego/bee/utils" "github.com/beego/bee/utils"
"github.com/derekparker/delve/pkg/terminal" "github.com/go-delve/delve/pkg/terminal"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/rpc2" "github.com/go-delve/delve/service/rpc2"
"github.com/derekparker/delve/service/rpccommon" "github.com/go-delve/delve/service/rpccommon"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
) )
@ -43,7 +43,7 @@ var cmdDlv = &commands.Command{
To debug your application using Delve, use: {{"$ bee dlv" | bold}} To debug your application using Delve, use: {{"$ bee dlv" | bold}}
For more information on Delve: https://github.com/derekparker/delve For more information on Delve: https://github.com/go-delve/delve
`, `,
PreRun: func(cmd *commands.Command, args []string) { version.ShowShortVersionBanner() }, PreRun: func(cmd *commands.Command, args []string) { version.ShowShortVersionBanner() },
Run: runDlv, Run: runDlv,

View File

@ -7,7 +7,7 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"github.com/derekparker/delve/pkg/dwarf/util" "github.com/go-delve/delve/pkg/dwarf/util"
) )
type parsefunc func(*parseContext) parsefunc type parsefunc func(*parseContext) parsefunc

View File

@ -5,7 +5,7 @@ import (
"encoding/binary" "encoding/binary"
"fmt" "fmt"
"github.com/derekparker/delve/pkg/dwarf/util" "github.com/go-delve/delve/pkg/dwarf/util"
) )
type DWRule struct { type DWRule struct {

View File

@ -16,8 +16,8 @@ import (
"reflect" "reflect"
"strconv" "strconv"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"github.com/derekparker/delve/pkg/dwarf/util" "github.com/go-delve/delve/pkg/dwarf/util"
) )
const ( const (

View File

@ -5,7 +5,7 @@ import (
"encoding/binary" "encoding/binary"
"path/filepath" "path/filepath"
"github.com/derekparker/delve/pkg/dwarf/util" "github.com/go-delve/delve/pkg/dwarf/util"
) )
type DebugLinePrologue struct { type DebugLinePrologue struct {

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/derekparker/delve/pkg/dwarf/util" "github.com/go-delve/delve/pkg/dwarf/util"
) )
type Location struct { type Location struct {

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/derekparker/delve/pkg/dwarf/util" "github.com/go-delve/delve/pkg/dwarf/util"
) )
type Opcode byte type Opcode byte

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
) )
type Reader struct { type Reader struct {

View File

@ -3,8 +3,8 @@ package proc
import ( import (
"encoding/binary" "encoding/binary"
"github.com/derekparker/delve/pkg/dwarf/frame" "github.com/go-delve/delve/pkg/dwarf/frame"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"golang.org/x/arch/x86/x86asm" "golang.org/x/arch/x86/x86asm"
) )

View File

@ -17,12 +17,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/derekparker/delve/pkg/dwarf/frame" "github.com/go-delve/delve/pkg/dwarf/frame"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/dwarf/line" "github.com/go-delve/delve/pkg/dwarf/line"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
"github.com/derekparker/delve/pkg/goversion" "github.com/go-delve/delve/pkg/goversion"
) )
// BinaryInfo holds information on the binary being executed. // BinaryInfo holds information on the binary being executed.

View File

@ -7,7 +7,7 @@ import (
"io" "io"
"sync" "sync"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
) )
// A SplicedMemory represents a memory space formed from multiple regions, // A SplicedMemory represents a memory space formed from multiple regions,

View File

@ -10,8 +10,8 @@ import (
"golang.org/x/arch/x86/x86asm" "golang.org/x/arch/x86/x86asm"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
"github.com/derekparker/delve/pkg/proc/linutil" "github.com/go-delve/delve/pkg/proc/linutil"
) )
// Copied from golang.org/x/sys/unix.PtraceRegs since it's not available on // Copied from golang.org/x/sys/unix.PtraceRegs since it's not available on

View File

@ -14,9 +14,9 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
"github.com/derekparker/delve/pkg/goversion" "github.com/go-delve/delve/pkg/goversion"
) )
var errOperationOnSpecialFloat = errors.New("operations on non-finite floats not implemented") var errOperationOnSpecialFloat = errors.New("operations on non-finite floats not implemented")

View File

@ -11,10 +11,10 @@ import (
"reflect" "reflect"
"sort" "sort"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
"github.com/derekparker/delve/pkg/logflags" "github.com/go-delve/delve/pkg/logflags"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"golang.org/x/arch/x86/x86asm" "golang.org/x/arch/x86/x86asm"
) )

View File

@ -80,9 +80,9 @@ import (
"golang.org/x/arch/x86/x86asm" "golang.org/x/arch/x86/x86asm"
"github.com/derekparker/delve/pkg/logflags" "github.com/go-delve/delve/pkg/logflags"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
"github.com/derekparker/delve/pkg/proc/linutil" "github.com/go-delve/delve/pkg/proc/linutil"
"github.com/mattn/go-isatty" "github.com/mattn/go-isatty"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@ -16,8 +16,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/derekparker/delve/pkg/logflags" "github.com/go-delve/delve/pkg/logflags"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@ -3,7 +3,7 @@ package proc
import ( import (
"errors" "errors"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
) )
const cacheEnabled = true const cacheEnabled = true

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ import (
sys "golang.org/x/sys/unix" 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. // 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) _, _, 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.Errno(0) {
if err == syscall.ENODEV { 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 err = nil
} }
return return

View File

@ -12,7 +12,7 @@ import (
"golang.org/x/arch/x86/x86asm" "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. // Regs represents CPU registers on an AMD64 processor.

View File

@ -6,7 +6,7 @@ import (
"golang.org/x/arch/x86/x86asm" "golang.org/x/arch/x86/x86asm"
sys "golang.org/x/sys/unix" 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. // Regs is a wrapper for sys.PtraceRegs.

View File

@ -6,7 +6,7 @@ import (
"golang.org/x/arch/x86/x86asm" "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. // Regs represents CPU registers on an AMD64 processor.

View File

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

View File

@ -12,7 +12,7 @@ import (
sys "golang.org/x/sys/unix" 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 // WaitStatus is a synonym for the platform-specific WaitStatus

View File

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

View File

@ -6,7 +6,7 @@ import (
sys "golang.org/x/sys/windows" 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 // WaitStatus is a synonym for the platform-specific WaitStatus

View File

@ -69,7 +69,7 @@ func (err *ErrFunctionNotFound) Error() string {
// If lineOffset is passed FindFunctionLocation will return the address of that line // If lineOffset is passed FindFunctionLocation will return the address of that line
// Pass lineOffset == 0 and firstLine == false if you want the address for the function's entry point // Pass lineOffset == 0 and firstLine == false if you want the address for the function's entry point
// Note that setting breakpoints at that address will cause surprising behavior: // Note that setting breakpoints at that address will cause surprising behavior:
// https://github.com/derekparker/delve/issues/170 // https://github.com/go-delve/delve/issues/170
func FindFunctionLocation(p Process, funcName string, firstLine bool, lineOffset int) (uint64, error) { func FindFunctionLocation(p Process, funcName string, firstLine bool, lineOffset int) (uint64, error) {
bi := p.BinInfo() bi := p.BinInfo()
origfn := bi.LookupFunc[funcName] origfn := bi.LookupFunc[funcName]

View File

@ -7,9 +7,9 @@ import (
"go/constant" "go/constant"
"strings" "strings"
"github.com/derekparker/delve/pkg/dwarf/frame" "github.com/go-delve/delve/pkg/dwarf/frame"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
) )
// This code is partly adapted from runtime.gentraceback in // This code is partly adapted from runtime.gentraceback in

View File

@ -10,8 +10,8 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
) )
// Thread represents a thread. // Thread represents a thread.

View File

@ -18,12 +18,12 @@ import (
"sync" "sync"
"unsafe" "unsafe"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/dwarf/line" "github.com/go-delve/delve/pkg/dwarf/line"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
"github.com/derekparker/delve/pkg/goversion" "github.com/go-delve/delve/pkg/goversion"
"github.com/derekparker/delve/pkg/logflags" "github.com/go-delve/delve/pkg/logflags"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@ -15,9 +15,9 @@ import (
"strings" "strings"
"unsafe" "unsafe"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/dwarf/op" "github.com/go-delve/delve/pkg/dwarf/op"
"github.com/derekparker/delve/pkg/dwarf/reader" "github.com/go-delve/delve/pkg/dwarf/reader"
) )
const ( const (

View File

@ -20,9 +20,9 @@ import (
"text/tabwriter" "text/tabwriter"
"github.com/cosiner/argv" "github.com/cosiner/argv"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
"github.com/derekparker/delve/service/debugger" "github.com/go-delve/delve/service/debugger"
) )
const optimizedFunctionWarning = "Warning: debugging optimized function" const optimizedFunctionWarning = "Warning: debugging optimized function"
@ -113,14 +113,14 @@ Type "help" followed by the name of a command for more information about it.`},
break [name] <linespec> break [name] <linespec>
See $GOPATH/src/github.com/derekparker/delve/Documentation/cli/locspec.md for the syntax of linespec. See $GOPATH/src/github.com/go-delve/delve/Documentation/cli/locspec.md for the syntax of linespec.
See also: "help on", "help cond" and "help clear"`}, See also: "help on", "help cond" and "help clear"`},
{aliases: []string{"trace", "t"}, cmdFn: tracepoint, helpMsg: `Set tracepoint. {aliases: []string{"trace", "t"}, cmdFn: tracepoint, helpMsg: `Set tracepoint.
trace [name] <linespec> trace [name] <linespec>
A tracepoint is a breakpoint that does not stop the execution of the program, instead when the tracepoint is hit a notification is displayed. See $GOPATH/src/github.com/derekparker/delve/Documentation/cli/locspec.md for the syntax of linespec. A tracepoint is a breakpoint that does not stop the execution of the program, instead when the tracepoint is hit a notification is displayed. See $GOPATH/src/github.com/go-delve/delve/Documentation/cli/locspec.md for the syntax of linespec.
See also: "help on", "help cond" and "help clear"`}, See also: "help on", "help cond" and "help clear"`},
{aliases: []string{"restart", "r"}, cmdFn: restart, helpMsg: `Restart process. {aliases: []string{"restart", "r"}, cmdFn: restart, helpMsg: `Restart process.
@ -190,7 +190,7 @@ Called with more arguments it will execute a command on the specified goroutine.
[goroutine <n>] [frame <m>] print <expression> [goroutine <n>] [frame <m>] print <expression>
See $GOPATH/src/github.com/derekparker/delve/Documentation/cli/expr.md for a description of supported expressions.`}, See $GOPATH/src/github.com/go-delve/delve/Documentation/cli/expr.md for a description of supported expressions.`},
{aliases: []string{"whatis"}, cmdFn: whatisCommand, helpMsg: `Prints type of an expression. {aliases: []string{"whatis"}, cmdFn: whatisCommand, helpMsg: `Prints type of an expression.
whatis <expression>`}, whatis <expression>`},
@ -198,7 +198,7 @@ See $GOPATH/src/github.com/derekparker/delve/Documentation/cli/expr.md for a des
[goroutine <n>] [frame <m>] set <variable> = <value> [goroutine <n>] [frame <m>] set <variable> = <value>
See $GOPATH/src/github.com/derekparker/delve/Documentation/cli/expr.md for a description of supported expressions. Only numerical variables and pointers can be changed.`}, See $GOPATH/src/github.com/go-delve/delve/Documentation/cli/expr.md for a description of supported expressions. Only numerical variables and pointers can be changed.`},
{aliases: []string{"sources"}, cmdFn: sources, helpMsg: `Print list of source files. {aliases: []string{"sources"}, cmdFn: sources, helpMsg: `Print list of source files.
sources [<regex>] sources [<regex>]

View File

@ -8,7 +8,7 @@ import (
"strings" "strings"
"text/tabwriter" "text/tabwriter"
"github.com/derekparker/delve/pkg/config" "github.com/go-delve/delve/pkg/config"
) )
func configureCmd(t *Term, ctx callContext, args string) error { func configureCmd(t *Term, ctx callContext, args string) error {

View File

@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"text/tabwriter" "text/tabwriter"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
) )
func DisasmPrint(dv api.AsmInstructions, out io.Writer) { func DisasmPrint(dv api.AsmInstructions, out io.Writer) {

View File

@ -7,7 +7,7 @@ import (
) )
func replaceDocPath(s string) string { func replaceDocPath(s string) string {
const docpath = "$GOPATH/src/github.com/derekparker/delve/" const docpath = "$GOPATH/src/github.com/go-delve/delve/"
for { for {
start := strings.Index(s, docpath) start := strings.Index(s, docpath)
@ -22,7 +22,7 @@ func replaceDocPath(s string) string {
} }
text := s[start+len(docpath) : end] text := s[start+len(docpath) : end]
s = s[:start] + fmt.Sprintf("[%s](//github.com/derekparker/delve/tree/master/%s)", text, text) + s[end:] s = s[:start] + fmt.Sprintf("[%s](//github.com/go-delve/delve/tree/master/%s)", text, text) + s[end:]
} }
} }

View File

@ -13,9 +13,9 @@ import (
"github.com/peterh/liner" "github.com/peterh/liner"
"github.com/derekparker/delve/pkg/config" "github.com/go-delve/delve/pkg/config"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
) )
const ( const (

View File

@ -8,8 +8,8 @@ import (
"reflect" "reflect"
"strconv" "strconv"
"github.com/derekparker/delve/pkg/dwarf/godwarf" "github.com/go-delve/delve/pkg/dwarf/godwarf"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
) )
// ConvertBreakpoint converts from a proc.Breakpoint to // ConvertBreakpoint converts from a proc.Breakpoint to

View File

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"unicode" "unicode"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
) )
// ErrNotExecutable is an error returned when trying // ErrNotExecutable is an error returned when trying

View File

@ -3,7 +3,7 @@ package service
import ( import (
"time" "time"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
) )
// Client represents a debugger service client. All client methods are // Client represents a debugger service client. All client methods are

View File

@ -13,13 +13,13 @@ import (
"sync" "sync"
"time" "time"
"github.com/derekparker/delve/pkg/goversion" "github.com/go-delve/delve/pkg/goversion"
"github.com/derekparker/delve/pkg/logflags" "github.com/go-delve/delve/pkg/logflags"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
"github.com/derekparker/delve/pkg/proc/core" "github.com/go-delve/delve/pkg/proc/core"
"github.com/derekparker/delve/pkg/proc/gdbserial" "github.com/go-delve/delve/pkg/proc/gdbserial"
"github.com/derekparker/delve/pkg/proc/native" "github.com/go-delve/delve/pkg/proc/native"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

View File

@ -9,8 +9,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
) )
const maxFindLocationCandidates = 5 const maxFindLocationCandidates = 5

View File

@ -9,7 +9,7 @@ import (
"sync" "sync"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
) )
// Client is a RPC service.Client. // Client is a RPC service.Client.

View File

@ -4,10 +4,10 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/derekparker/delve/pkg/proc" "github.com/go-delve/delve/pkg/proc"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
"github.com/derekparker/delve/service/debugger" "github.com/go-delve/delve/service/debugger"
) )
var defaultLoadConfig = proc.LoadConfig{true, 1, 64, 64, -1} var defaultLoadConfig = proc.LoadConfig{true, 1, 64, 64, -1}

View File

@ -8,8 +8,8 @@ import (
"net/rpc/jsonrpc" "net/rpc/jsonrpc"
"time" "time"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
) )
// Client is a RPC service.Client. // Client is a RPC service.Client.

View File

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
"github.com/derekparker/delve/service/debugger" "github.com/go-delve/delve/service/debugger"
) )
type RPCServer struct { type RPCServer struct {
@ -423,7 +423,7 @@ type EvalOut struct {
// EvalVariable returns a variable in the specified context. // EvalVariable returns a variable in the specified context.
// //
// See https://github.com/derekparker/delve/wiki/Expressions for // See https://github.com/go-delve/delve/wiki/Expressions for
// a description of acceptable values of arg.Expr. // a description of acceptable values of arg.Expr.
func (s *RPCServer) Eval(arg EvalIn, out *EvalOut) error { func (s *RPCServer) Eval(arg EvalIn, out *EvalOut) error {
cfg := arg.Cfg cfg := arg.Cfg

View File

@ -16,13 +16,13 @@ import (
"unicode" "unicode"
"unicode/utf8" "unicode/utf8"
"github.com/derekparker/delve/pkg/logflags" "github.com/go-delve/delve/pkg/logflags"
"github.com/derekparker/delve/pkg/version" "github.com/go-delve/delve/pkg/version"
"github.com/derekparker/delve/service" "github.com/go-delve/delve/service"
"github.com/derekparker/delve/service/api" "github.com/go-delve/delve/service/api"
"github.com/derekparker/delve/service/debugger" "github.com/go-delve/delve/service/debugger"
"github.com/derekparker/delve/service/rpc1" "github.com/go-delve/delve/service/rpc1"
"github.com/derekparker/delve/service/rpc2" "github.com/go-delve/delve/service/rpc2"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

58
vendor/vendor.json vendored
View File

@ -16,140 +16,140 @@
}, },
{ {
"checksumSHA1": "71Ih+BWcUNqZZcKKWcCmDRTZBFw=", "checksumSHA1": "71Ih+BWcUNqZZcKKWcCmDRTZBFw=",
"origin": "github.com/derekparker/delve/vendor/github.com/cosiner/argv", "origin": "github.com/go-delve/delve/vendor/github.com/cosiner/argv",
"path": "github.com/cosiner/argv", "path": "github.com/cosiner/argv",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "v+Q3iYeRP3r9ajsW0J2PxGWdlwA=", "checksumSHA1": "v+Q3iYeRP3r9ajsW0J2PxGWdlwA=",
"path": "github.com/derekparker/delve/pkg/config", "path": "github.com/go-delve/delve/pkg/config",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "GhNaVSsHXTmTHd7julSi5xtZD2w=", "checksumSHA1": "GhNaVSsHXTmTHd7julSi5xtZD2w=",
"path": "github.com/derekparker/delve/pkg/dwarf/frame", "path": "github.com/go-delve/delve/pkg/dwarf/frame",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "VCDMk/5/pkVOQCBcATdCixGpk3s=", "checksumSHA1": "VCDMk/5/pkVOQCBcATdCixGpk3s=",
"path": "github.com/derekparker/delve/pkg/dwarf/godwarf", "path": "github.com/go-delve/delve/pkg/dwarf/godwarf",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "cJJirrDqATjg6/XbPrG7KCIsP9E=", "checksumSHA1": "cJJirrDqATjg6/XbPrG7KCIsP9E=",
"path": "github.com/derekparker/delve/pkg/dwarf/line", "path": "github.com/go-delve/delve/pkg/dwarf/line",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "7GMg+SBj0vNTzYFm5rTQkbQGhTQ=", "checksumSHA1": "7GMg+SBj0vNTzYFm5rTQkbQGhTQ=",
"path": "github.com/derekparker/delve/pkg/dwarf/op", "path": "github.com/go-delve/delve/pkg/dwarf/op",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "RVPaMaM17/ijwKLWT1BXnF7/VQQ=", "checksumSHA1": "RVPaMaM17/ijwKLWT1BXnF7/VQQ=",
"path": "github.com/derekparker/delve/pkg/dwarf/reader", "path": "github.com/go-delve/delve/pkg/dwarf/reader",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "j+wqqyt6QT2RI+Ini8exsY+pIFY=", "checksumSHA1": "j+wqqyt6QT2RI+Ini8exsY+pIFY=",
"path": "github.com/derekparker/delve/pkg/dwarf/util", "path": "github.com/go-delve/delve/pkg/dwarf/util",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "Zx84VNxBFf9BnN9CnrQ/StvY16I=", "checksumSHA1": "Zx84VNxBFf9BnN9CnrQ/StvY16I=",
"path": "github.com/derekparker/delve/pkg/goversion", "path": "github.com/go-delve/delve/pkg/goversion",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "OYBYJW2zF7M6xisSTsn6buWAgpY=", "checksumSHA1": "OYBYJW2zF7M6xisSTsn6buWAgpY=",
"path": "github.com/derekparker/delve/pkg/logflags", "path": "github.com/go-delve/delve/pkg/logflags",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "d0BcJ+psIqmd7f6A+V6GGjNMKU8=", "checksumSHA1": "d0BcJ+psIqmd7f6A+V6GGjNMKU8=",
"path": "github.com/derekparker/delve/pkg/proc", "path": "github.com/go-delve/delve/pkg/proc",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "7kXN1G9KbRIs3lAH9OazJ9ZKfoY=", "checksumSHA1": "7kXN1G9KbRIs3lAH9OazJ9ZKfoY=",
"path": "github.com/derekparker/delve/pkg/proc/core", "path": "github.com/go-delve/delve/pkg/proc/core",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "Oyb/UKf3dHNT6InxkYpqMRN8mAI=", "checksumSHA1": "Oyb/UKf3dHNT6InxkYpqMRN8mAI=",
"path": "github.com/derekparker/delve/pkg/proc/gdbserial", "path": "github.com/go-delve/delve/pkg/proc/gdbserial",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "mHDcnJ0Rons7meAq9DWuBCZbW7E=", "checksumSHA1": "mHDcnJ0Rons7meAq9DWuBCZbW7E=",
"path": "github.com/derekparker/delve/pkg/proc/linutil", "path": "github.com/go-delve/delve/pkg/proc/linutil",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "HzvEoJxB+b7b+gl2iwWn2QTSx2k=", "checksumSHA1": "HzvEoJxB+b7b+gl2iwWn2QTSx2k=",
"path": "github.com/derekparker/delve/pkg/proc/native", "path": "github.com/go-delve/delve/pkg/proc/native",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "eUso2+RCuyy5y8w7xomMZa+PLLs=", "checksumSHA1": "eUso2+RCuyy5y8w7xomMZa+PLLs=",
"path": "github.com/derekparker/delve/pkg/terminal", "path": "github.com/go-delve/delve/pkg/terminal",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "njXG5km7KDV7IVuZReheCSRfXSQ=", "checksumSHA1": "njXG5km7KDV7IVuZReheCSRfXSQ=",
"path": "github.com/derekparker/delve/pkg/version", "path": "github.com/go-delve/delve/pkg/version",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "U39K0wH1Vnkw4LVOoinqIwX8yPY=", "checksumSHA1": "U39K0wH1Vnkw4LVOoinqIwX8yPY=",
"path": "github.com/derekparker/delve/service", "path": "github.com/go-delve/delve/service",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "9UZsK1xmwZ3AKrY4zzuYaIgVQgQ=", "checksumSHA1": "9UZsK1xmwZ3AKrY4zzuYaIgVQgQ=",
"path": "github.com/derekparker/delve/service/api", "path": "github.com/go-delve/delve/service/api",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "VlivUa2TLlBe6p1/YVRi3u/Lzv8=", "checksumSHA1": "VlivUa2TLlBe6p1/YVRi3u/Lzv8=",
"path": "github.com/derekparker/delve/service/debugger", "path": "github.com/go-delve/delve/service/debugger",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "EgqZMArkM5kmJ+QuLj/N/jqSRWU=", "checksumSHA1": "EgqZMArkM5kmJ+QuLj/N/jqSRWU=",
"path": "github.com/derekparker/delve/service/rpc1", "path": "github.com/go-delve/delve/service/rpc1",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "+2fLw0nSU41hfy6ISGZ47B3+N1s=", "checksumSHA1": "+2fLw0nSU41hfy6ISGZ47B3+N1s=",
"path": "github.com/derekparker/delve/service/rpc2", "path": "github.com/go-delve/delve/service/rpc2",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "0Sw6L7LHcIE6VG7IpAZG8MhnICY=", "checksumSHA1": "0Sw6L7LHcIE6VG7IpAZG8MhnICY=",
"path": "github.com/derekparker/delve/service/rpccommon", "path": "github.com/go-delve/delve/service/rpccommon",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
@ -185,42 +185,42 @@
}, },
{ {
"checksumSHA1": "+FYEqyNlPCPeFXxg7VUFp8LG108=", "checksumSHA1": "+FYEqyNlPCPeFXxg7VUFp8LG108=",
"origin": "github.com/derekparker/delve/vendor/github.com/mattn/go-colorable", "origin": "github.com/go-delve/delve/vendor/github.com/mattn/go-colorable",
"path": "github.com/mattn/go-colorable", "path": "github.com/mattn/go-colorable",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "lfn20o8UQyaq8aWKQU98qRMJlVA=", "checksumSHA1": "lfn20o8UQyaq8aWKQU98qRMJlVA=",
"origin": "github.com/derekparker/delve/vendor/github.com/mattn/go-isatty", "origin": "github.com/go-delve/delve/vendor/github.com/mattn/go-isatty",
"path": "github.com/mattn/go-isatty", "path": "github.com/mattn/go-isatty",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "ph3cNYbXMV3WTwgJz6IrmgyCFkM=", "checksumSHA1": "ph3cNYbXMV3WTwgJz6IrmgyCFkM=",
"origin": "github.com/derekparker/delve/vendor/github.com/peterh/liner", "origin": "github.com/go-delve/delve/vendor/github.com/peterh/liner",
"path": "github.com/peterh/liner", "path": "github.com/peterh/liner",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "HSvSst2y+SkMz+BoQCxBwlWTi/w=", "checksumSHA1": "HSvSst2y+SkMz+BoQCxBwlWTi/w=",
"origin": "github.com/derekparker/delve/vendor/github.com/sirupsen/logrus", "origin": "github.com/go-delve/delve/vendor/github.com/sirupsen/logrus",
"path": "github.com/sirupsen/logrus", "path": "github.com/sirupsen/logrus",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "T3ucRoHVYE7IKEjd0AvA59wUUg4=", "checksumSHA1": "T3ucRoHVYE7IKEjd0AvA59wUUg4=",
"origin": "github.com/derekparker/delve/vendor/golang.org/x/arch/x86/x86asm", "origin": "github.com/go-delve/delve/vendor/golang.org/x/arch/x86/x86asm",
"path": "golang.org/x/arch/x86/x86asm", "path": "golang.org/x/arch/x86/x86asm",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"
}, },
{ {
"checksumSHA1": "BGm8lKZmvJbf/YOJLeL1rw2WVjA=", "checksumSHA1": "BGm8lKZmvJbf/YOJLeL1rw2WVjA=",
"origin": "github.com/derekparker/delve/vendor/golang.org/x/crypto/ssh/terminal", "origin": "github.com/go-delve/delve/vendor/golang.org/x/crypto/ssh/terminal",
"path": "golang.org/x/crypto/ssh/terminal", "path": "golang.org/x/crypto/ssh/terminal",
"revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce", "revision": "74c98bc9616ad4ee324eb4d31717b61f4a6ab8ce",
"revisionTime": "2018-05-29T15:01:51Z" "revisionTime": "2018-05-29T15:01:51Z"