1. 22 1月, 2020 1 次提交
  2. 21 1月, 2020 1 次提交
  3. 17 1月, 2020 1 次提交
    • A
      proc: cache goroutine objects · 9af1eac3
      aarzilli 提交于
      Adds a cache mapping goroutine IDs to goroutine objects, this allows
      speeding up FindGoroutine and makes commands like 'goroutines -t' not
      be accidentally quadratic in the number of goroutines.
      9af1eac3
  4. 14 1月, 2020 3 次提交
  5. 10 1月, 2020 4 次提交
    • A
      proc: fix inlined stack reading for midstack inlined calls · adb1746c
      aarzilli 提交于
      Due to a bug in the Go compiler midstack inlined calls do not report
      their ranges correctly. We can't check if an address is in the range of
      a DIE by simply looking at that DIE's range, we should also recursively
      check the DIE's children's ranges.
      
      Also fixes the way stacktraces of midstack inlined calls are reported
      (they used to be inverted, with the deepest inlined stack frame
      reported last).
      
      Fixes #1795
      adb1746c
    • A
      proc,service: return build informations for each package · a8606afb
      aarzilli 提交于
      Adds an API call that returns a list of packages contained in the
      program and the files that were used to build them, and also a best
      guess at which filesystem directory contained the package when it was
      built.
      
      This can be used by IDEs to map file paths if the debugging environment
      doesn't match the build environment exactly.
      a8606afb
    • A
      dwarf/line: make LineToPCIn behave like LineToPC for lines without stmt · 0e0d6892
      aarzilli 提交于
      When a line has instructions associated but none of them have is_stmt
      set LineToPC and LineToPCIn should behave in the same way.
      
      Fixes #1817
      0e0d6892
    • C
      pkg/proc: fix one typo. · c5f9a03d
      chainhelen 提交于
      Change `copy form` into `copy from`.
      c5f9a03d
  6. 03 1月, 2020 6 次提交
  7. 12 12月, 2019 1 次提交
  8. 10 12月, 2019 2 次提交
  9. 04 12月, 2019 1 次提交
  10. 03 12月, 2019 1 次提交
    • D
      pkg/terminal: Fix exit status · c119e40c
      Derek Parker 提交于
      During a debug session if the process exited and then the user quit the
      debug session, the process exit message would display again and Delve
      would exit non-zero (specifically with exit code 1) despite nothing
      going wrong.
      
      This patch fixes this so that Delve exits with a clean 0 status and the
      process exit message is not printed yet again.
      c119e40c
  11. 02 12月, 2019 1 次提交
    • A
      vendor: Fix inconsistent vendoring · 7e2660e7
      aarzilli 提交于
      The ARM64 left the vendor directory in an inconsistent state, go1.13
      doesn't care so we didn't catch it but go1.14 does.
      7e2660e7
  12. 28 11月, 2019 10 次提交
  13. 26 11月, 2019 3 次提交
  14. 14 11月, 2019 2 次提交
  15. 12 11月, 2019 2 次提交
    • A
      proc/core: enable PIE tests (#1755) · 5da5eee1
      Alessandro Arzilli 提交于
      * Makefile: discard stderr of "go list"
      
      In module mode "go" will print messages about downloading modules to
      stderr, we shouldn't confuse them for the real command output.
      
      * proc/core: enable PIE tests
      
      PIE tests for core files were never enabled due to a missing flag.Parse
      call.
      5da5eee1
    • A
      proc/linux: do not route signals to threads while stopping (#1752) · 4fc85289
      Alessandro Arzilli 提交于
      * proc/linux: do not route signals to threads while stopping
      
      While we are trying to stop the process we should not route signals
      sent to threads because that will result in threads being resumed.
      Also keep better track of which threads are stopped.
      
      This fixes an incompatibility with Go 1.14, which sends a lot of
      signals to its threads to implement non-cooperative preemption,
      resulting in Delve hanging waiting for an already-stopped thread to
      stop.
      
      In principle however this bug has nothing to do with Go 1.14 and could
      manifest in any instance of high signal pressure.
      
      * Makefile: discard stderr of "go list"
      
      In module mode "go" will print messages about downloading modules to
      stderr, we shouldn't confuse them for the real command output.
      4fc85289
  16. 09 11月, 2019 1 次提交
    • A
      gdbserial: propagate unhandled signals back to a specific thread (#1749) · 79143468
      Alessandro Arzilli 提交于
      Instead of just sending unhandled signals back to the process send them
      to the specific thread that received them.
      This is important because:
      
      1. debugserver does not appear to support the vCont;CXX packet without
      specifying a target thread
      2. the non-cooperative preemption change in an upcoming version of Go
      (1.15?) will require sending signals to a specific thread.
      
      Fixes #1744
      79143468