1. 09 5月, 2017 1 次提交
  2. 06 5月, 2017 3 次提交
  3. 05 5月, 2017 2 次提交
  4. 02 5月, 2017 1 次提交
  5. 29 4月, 2017 2 次提交
  6. 27 4月, 2017 1 次提交
    • H
      cmd/dlv: fix race in test (#805) · c67986ed
      Hyang-Ah Hana Kim 提交于
      % go test -race -v -short
      
      === RUN   TestBuild
      ==================
      WARNING: DATA RACE
      Write at 0x00c4201379a0 by goroutine 9:
        os.(*file).close()
            /usr/local/go/src/os/file_unix.go:143 +0x10a
        os.(*File).Close()
            /usr/local/go/src/os/file_unix.go:132 +0x55
        os/exec.(*Cmd).closeDescriptors()
            /usr/local/go/src/os/exec/exec.go:263 +0x67
        os/exec.(*Cmd).Wait()
            /usr/local/go/src/os/exec/exec.go:448 +0x2b8
        github.com/derekparker/delve/cmd/dlv.TestBuild.func1()
            /home/kbuilder/go/src/github.com/derekparker/delve/cmd/dlv/dlv_test.go:82 +0x8e
        github.com/derekparker/delve/cmd/dlv.TestBuild()
            /home/kbuilder/go/src/github.com/derekparker/delve/cmd/dlv/dlv_test.go:104 +0xb6a
        testing.tRunner()
            /usr/local/go/src/testing/testing.go:657 +0x107
      
      Previous read at 0x00c4201379a0 by goroutine 12:
        os.(*File).Read()
            /usr/local/go/src/os/file.go:98 +0x70
        bufio.(*Scanner).Scan()
            /usr/local/go/src/bufio/scan.go:207 +0x539
        github.com/derekparker/delve/cmd/dlv.TestBuild.func2()
            /home/kbuilder/go/src/github.com/derekparker/delve/cmd/dlv/dlv_test.go:93 +0x38
      
      Change-Id: I09d188dbf964fe4af0b33b6a8fcfe51396176b7e
      c67986ed
  7. 26 4月, 2017 1 次提交
  8. 25 4月, 2017 2 次提交
  9. 22 4月, 2017 3 次提交
  10. 20 4月, 2017 3 次提交
  11. 19 4月, 2017 11 次提交
  12. 18 4月, 2017 1 次提交
    • H
      vendor: update vendored packages (#791) · 5bd46f34
      Hyang-Ah Hana Kim 提交于
      * pkg/proc: use golang.org/x/arch/x86/x86asm
      
      instead of rsc.io/x86/x86asm
      
      * pkg/dwarf: migrate to github.com/pkg/profile
      
      from github.com/davecheney/profile
      
      * scripts: keep script go files from being considered for the build
      
      scripts/gen-*.go files are scripts for generating documentation
      files and don't follow the typical Go package layout. Expected
      usage is like
      
         go run scripts/gen-cli-docs.go
      
      * vendor: update vendored packages
      
      There were many changes in delve, and go tool chains since last
      vendored package update. I just rerun godpes from scratch.
      
      $ rm vendor/*
      $ rm Godeps/Godeps.json
      $ go list ./... | grep -v /vendor/ | grep -v /scripts/ | go get -u -t
      $ go get -u github.com/mattn/go-colorable
      $ go get -u github.com/mattn/go-isatty
      $ go list ./... | grep -v /vendor/ | grep -v /scripts/ | godeps save
      5bd46f34
  13. 14 4月, 2017 2 次提交
  14. 07 4月, 2017 2 次提交
    • D
      cmd/dlv: Use Printf over Println · 01a1b356
      Derek Parker 提交于
      Fixes #783
      01a1b356
    • A
      proc refactor: split out BinaryInfo implementation (#745) · 436a3c21
      Alessandro Arzilli 提交于
      * proc: refactor BinaryInfo part of proc.Process to own type
      
      The data structures and associated code used by proc.Process
      to implement target.BinaryInfo will also be useful to support a
      backend for examining core dumps, split this part of proc.Process
      to a different type.
      
      * proc: compile support for all executable formats unconditionally
      
      So far we only compiled in support for loading the executable format
      supported by the host operating system.
      Once support for core files is introduced it is however useful to
      support loading in all executable formats, there is no reason why it
      shouldn't be possible to examine a linux coredump on windows, or
      viceversa.
      
      * proc: bugfix: do not resume threads on detach if killing
      
      * Replace BinaryInfo interface with BinInfo() method returning proc.BinaryInfo
      436a3c21
  15. 29 3月, 2017 1 次提交
    • A
      proc: add test for attach/detach, fix detach (#773) · 7b19fe9e
      Alessandro Arzilli 提交于
      Detach did not work for processes we attach to via PID.
      
      Linux: we were only detaching from the main thread, all threads are
      detached independently
      
      Windows: we must resume all threads before detaching.
      
      macOS: still broken.
      
      Updates #772
      7b19fe9e
  16. 25 3月, 2017 2 次提交
  17. 22 3月, 2017 1 次提交
  18. 14 3月, 2017 1 次提交
    • H
      Minor fixes to make some tests build and run (#752) · ab7367ed
      Hyang-Ah Hana Kim 提交于
      * cmd/dlv: fall back to go env GOPATH when GOPATH envvar is unset.
      
      Since Go 1.8, GOPATH environment variable has a default value if the
      environment variable is unset so not setting GOPATH is perfectly ok.
      Depend on `go env` command to query Go related environment variable.
      
      * build: update references to moved packages
      ab7367ed