1. 27 9月, 2016 1 次提交
  2. 30 5月, 2016 1 次提交
    • A
      Go 1.7 compatibility (#524) · 9bc6ad4f
      Alessandro Arzilli 提交于
      * tests: update to cope with go1.7 SSA compiler
      
      * de-vendored golang.org/x/debug/dwarf
      
      We need our own tweaked version
      
      * dwarf/debug/dwarf: always use the entry's name attribute
      
      Using the name attribute leads to better type names as well as fixes
      inconsistencies between 1.5, 1.6 and 1.7.
      
      * proc: Updated loadInterface to work with go1.7
      
      go1.7 changed the internal representation of types, removing the string
      field from runtime._type.
      Updated loadInterface to use the new str field.
      9bc6ad4f
  3. 25 4月, 2016 1 次提交
    • A
      proc: Improvements to Variable printing (#444) · 473b6638
      Alessandro Arzilli 提交于
      * service/api: Removed unused fields of service/api.Function
      
      * proc/eval: Set return variable name to input expression
      
      * all: fine-grained control of loadValue for better variable printing
      
      Makes proc.(*Variable).loadValue loading parameters configurable
      through one extra argument of type LoadConfig.
      This interface is also exposed through the API so clients can control
      how much of a variable delve should read.
      473b6638
  4. 18 3月, 2016 1 次提交
  5. 17 2月, 2016 1 次提交
  6. 24 1月, 2016 1 次提交
  7. 10 1月, 2016 1 次提交
  8. 09 1月, 2016 1 次提交
    • A
      proc: Next implemented as conditional breakpoints + Continue · 54411356
      aarzilli 提交于
      Next sets its temporary breakpoints with the condition that they
      must only activate on the current goroutine, and then calls Continue
      When Continue encounters a temporary breakpoint it clears all
      the breakpoint.
      
      User visible changes: breakpoints that get hit while executing Next
      are not ignored.
      
      This commit does not implement full conditional breakpoints
      functionality, the only condition that can be set is on the
      goroutine id.
      
      Fixes race conditions in Next affecting TestNextConcurrent.
      54411356
  9. 10 10月, 2015 1 次提交
  10. 27 9月, 2015 1 次提交
    • D
      proc: Remove hardware assisted breakpoints · 466960d9
      Derek Parker 提交于
      Only use software breakpoints for now. The reasoning is because it
      complicates the code without justification, and is only supported on
      Linux. Eventually, once watchpoints are properly implemented we will
      revive some of this code. Also, if it is ever necessary to actually set
      a hw breakpoint we can revive that code as well.
      
      All future versions of this code will include support for OSX before
      being merged back in.
      466960d9
  11. 02 8月, 2015 3 次提交
  12. 01 7月, 2015 1 次提交
    • D
      Cleanup tracepoint commit · 6b99c5f5
      Derek Parker 提交于
      * Cleanup comments
      * Cleanup naming in certain instances
      * Modify stacktrace to return current location
      6b99c5f5
  13. 30 6月, 2015 1 次提交
  14. 29 6月, 2015 1 次提交
    • A
      ClearBreakpoint should clear a hardware breakpoint from all threads · 2fcbc4bd
      aarzilli 提交于
      additionally fixes a bug when Detach is called on an exiting/exited thread: dbp.CurrentThread could point to a thread that has already been removed from dbp.Threads by trapWait which will lead to a nil pointer dereference caused proc.Process.clearBreakpoint getting nil from dbp.Threads[tid]
      2fcbc4bd
  15. 27 6月, 2015 1 次提交
  16. 25 6月, 2015 1 次提交
  17. 21 6月, 2015 1 次提交
  18. 18 6月, 2015 1 次提交
  19. 14 6月, 2015 1 次提交
    • D
      Refactor: Use thread-locked goroutine for ptrace ops · e4fc5e32
      Derek Parker 提交于
      Previously either the terminal client or the debugger service would
      either lock main goroutine to a thread or provide a locked goroutine to
      run _all_ DebuggedProcess functions in. This is unnecessary because only
      ptrace functions need to be run from the same thread that originated the
      PT_ATTACH request.
      
      Here we use a specific thread-locked goroutine to service any ptrace
      request. That goroutine is also responsible for the initial spawning /
      attaching of the process, since it must be responsible for the PT_ATTACH
      request.
      e4fc5e32
  20. 13 6月, 2015 4 次提交
  21. 12 6月, 2015 1 次提交
  22. 30 4月, 2015 1 次提交
  23. 29 4月, 2015 1 次提交
  24. 23 4月, 2015 2 次提交
  25. 21 4月, 2015 1 次提交
  26. 20 4月, 2015 1 次提交
  27. 04 4月, 2015 1 次提交
  28. 01 4月, 2015 1 次提交
    • D
      Improve `next` implementation · 86e15305
      Derek Parker 提交于
      * Better tracking of current goroutine
      * More efficient, eliminates superfluous step syscalls
      * Handles concurrency and thread coordination better
      86e15305
  29. 06 3月, 2015 1 次提交
  30. 28 2月, 2015 1 次提交
  31. 03 2月, 2015 1 次提交
  32. 01 2月, 2015 1 次提交
  33. 27 1月, 2015 1 次提交
  34. 26 1月, 2015 1 次提交