1. 09 11月, 2018 4 次提交
  2. 07 11月, 2018 3 次提交
    • D
      *: Switch to using Go modules · 4927bc6c
      Derek Parker 提交于
      4927bc6c
    • A
      pkg/core: make code in core.go OS/arch agnostic · 7d0d2cb3
      aarzilli 提交于
      Make code in core.go OS and architecture agnostic in preparation for
      adding Windows minidump support.
      7d0d2cb3
    • A
      tests: rename _fixtures/vendor to _fixtures/internal · 73d636f7
      aarzilli 提交于
      Some tests used a fake vendor directory placed inside _fixtures to
      import some support packages.
      In go.mod mode vendor directory are only supported on the root of the
      project, which breaks some of our tests.
      Since vendor directories outside the root of the project are so rare
      anyway it's possible that a future version of go will stop supporting
      it even in GOPATH mode.
      Also it was weird and unnecessary in the first place anyawy.
      73d636f7
  3. 01 11月, 2018 1 次提交
  4. 23 10月, 2018 1 次提交
  5. 20 10月, 2018 2 次提交
    • D
      *: Show return values on CLI trace · 3129aa73
      Derek Parker 提交于
      This patch allows the `trace` CLI subcommand to display return values of
      a function. Additionally, it will also display information on where the
      function exited, which could also be helpful in determining the path
      taken during function execution.
      
      Fixes #388
      3129aa73
    • A
      proc/native: Mask MS_VC_EXCEPTION [windows] · 4db99398
      aarzilli 提交于
      Some libraries (for example steam_api64.dll) will send this exception
      code to set the thread name on Microsoft VisualC.
      In theory it should be fine to send the exception back to the target,
      which is responsible for setting a handler for it, in practice in some
      cases (steam_api64.dll) this will crash the program. So we'll mask it
      instead.
      
      Fixes #1383
      4db99398
  6. 19 10月, 2018 1 次提交
  7. 18 10月, 2018 5 次提交
  8. 16 10月, 2018 3 次提交
  9. 12 10月, 2018 1 次提交
    • A
      proc: support position independent executables (PIE) · 74c98bc9
      aarzilli 提交于
      Support for position independent executables (PIE) on the native linux
      backend, the gdbserver backend on linux and the core backend.
      Also implemented in the windows native backend, but it can't be tested
      because go doesn't support PIE on windows yet.
      74c98bc9
  10. 11 10月, 2018 1 次提交
  11. 09 10月, 2018 2 次提交
  12. 03 10月, 2018 1 次提交
    • A
      proc/native,Makefile: allow compiling on macOS without native backend · 910f90c3
      aarzilli 提交于
      On macOS 10.14 Apple changed the command line tools so that system
      headers now need to be manually installed.
      
      Instead of adding one extra install step to the install procedure add a
      build tag to allow compilation of delve without the native backend on
      macOS. By default (i.e. when using `go get`) this is how delve will be
      compiled on macOS, the make script is changed to enable compiling the
      native backend if the required dependencies have been installed.
      
      Insure that both configuration still build correctly on Travis CI and
      change the documentation to describe how to compile the native backend
      and that it isn't normally needed.
      
      Fixes #1359
      910f90c3
  13. 28 9月, 2018 1 次提交
  14. 26 9月, 2018 5 次提交
  15. 25 9月, 2018 4 次提交
  16. 20 9月, 2018 3 次提交
  17. 19 9月, 2018 2 次提交
    • A
      Documentation: mention that interfaces can also not be loaded · 4fea1583
      aarzilli 提交于
      An interface with a children that has onlyAddr set to true was not
      loaded due to the depth limit having been reached.
      4fea1583
    • A
      Makefile: replace makefile with a script · 087431f0
      aarzilli 提交于
      We were using our makefile not for the intended purpose of makefiles
      but to multiplex a series of small scripts.
      We can easily achieve the same result in a more reasonable programming
      language and as a bonus we don't need to install a version of make on
      windows anymore.
      Additionally our test script had become fairly complicated and will
      become even more complicated when testing of PIE buildmode is
      introduced.
      Allows the tests to run on Windows without having to install Mingw
      (although we still want it installed so that we can run cgo tests on
      Windows).
      
      Fixes building when GOPATH isn't set.
      
      Fixes #759
      087431f0