1. 10 1月, 2020 2 次提交
  2. 03 1月, 2020 6 次提交
  3. 12 12月, 2019 1 次提交
  4. 10 12月, 2019 2 次提交
  5. 04 12月, 2019 1 次提交
  6. 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
  7. 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
  8. 28 11月, 2019 10 次提交
  9. 26 11月, 2019 3 次提交
  10. 14 11月, 2019 2 次提交
  11. 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
  12. 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
  13. 05 11月, 2019 1 次提交
  14. 02 11月, 2019 1 次提交
    • A
      proc,debugger: implement logical breakpoints (#1717) · 222deeec
      Alessandro Arzilli 提交于
      Modifies FindFileLocation, FindFunctionLocation and LineToPC as well as
      service/debugger to support inlining and introduces the concept of
      logical breakpoints.
      
      For inlined functions FindFileLocation, FindFunctionLocation and
      LineToPC will now return one PC address for each inlining and one PC
      for the concrete implementation of the function (if present).
      
      A proc.Breakpoint will continue to represent a physical breakpoint, at
      a single memory location.
      
      Breakpoints returned by service/debugger, however, will represent
      logical breakpoints and may be associated with multiple memory
      locations and, therefore, multiple proc.Breakpoints.
      
      The necessary logic is introduced in service/debugger so that a change
      to a logical breakpoint will be mirrored to all its physical
      breakpoints and physical breakpoints are aggregated into a single
      logical breakpoint when returned.
      222deeec
  15. 30 10月, 2019 1 次提交
  16. 29 10月, 2019 2 次提交
    • A
      proc: always resolve array types even if they don't appear in the · 5a947bce
      aarzilli 提交于
      program
      
      When evaluating type casts always resolve array types.
      
      Instead of resolving them by looking up the string in debug_info
      construct a fake array type so that a type cast to an array type always
      works as long as the element type exists.
      
      We already did this for byte arrays, this commit extends this to any
      array type. The reason is that we return a fake array type (that
      doesn't exist in the target program) for the array of a channel type.
      
      Fixes #1736
      5a947bce
    • A
      proc: fix breakpoint confusion on resume (#1738) · f1a5e654
      Alessandro Arzilli 提交于
      Fixes a case of breakpoint confusion on resume caused by having two
      breakpoints one byte apart. This bug can cause the target program to
      resume execution a single byte inside an instruction and crash either
      with SIGILL or a SIGSEGV, or misbehave (depending on how the truncated
      instruction is decoded).
      
      native.(*Thread).StepInstruction should call FindBreakpoint using
      adjustPC==false because at that point the PC of the thread should
      already have been adjusted (and it has been).
      f1a5e654
  17. 26 10月, 2019 2 次提交
  18. 23 10月, 2019 1 次提交