1. 05 12月, 2020 1 次提交
  2. 16 9月, 2020 1 次提交
  3. 25 8月, 2020 1 次提交
  4. 25 6月, 2020 1 次提交
  5. 15 5月, 2020 1 次提交
  6. 12 5月, 2020 1 次提交
  7. 05 5月, 2020 1 次提交
  8. 11 4月, 2020 1 次提交
  9. 27 3月, 2020 1 次提交
  10. 21 3月, 2020 1 次提交
    • A
      proc,dwarf: cache debug.Entry objects (#1931) · 7cd12c34
      Alessandro Arzilli 提交于
      Instead of rescanning debug_info every time we want to read a function
      (either to find inlined calls or its variables) cache the tree of
      dwarf.Entry that we would generate and use that.
      
      Benchmark before:
      
      BenchmarkConditionalBreakpoints-4   	       1	5164689165 ns/op
      
      Benchmark after:
      
      BenchmarkConditionalBreakpoints-4   	       1	4817425836 ns/op
      
      Updates #1549
      7cd12c34
  11. 26 2月, 2020 1 次提交
  12. 16 2月, 2020 1 次提交
    • P
      service/dap: Initial implementation for 'dlv dap' (#1858) · fbc4623c
      polinasok 提交于
      * Initial implementation for 'dlv dap'
      
      * Fix Travis and AppVeyor failures
      
      * Address review comments
      
      * Address review comments
      
      * Regenrate documentation
      
      * Replace dap server printfs with log.Error
      
      * Update 'dap log'
      
      * Fix typos
      
      * Revert logflags changes that got mixed in by accident
      fbc4623c
  13. 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
  14. 28 11月, 2019 1 次提交
  15. 30 7月, 2019 1 次提交
    • D
      *: Add .cirrus.yml for FreeBSD testing (#1639) · f4eaad69
      Derek Parker 提交于
      * *: Add .cirrus.yml for FreeBSD testing
      
      * *: run go mod tidy
      
      * service/test: prefer 127.0.0.1 over localhost
      
      * dwarf/line: fix TestDebugLinePrologueParser
      
      * vendor: rerun go mod vendor
      f4eaad69
  16. 13 7月, 2019 1 次提交
    • R
      *: FreeBSD initial support (#1480) · df65be43
      Robert Ayrapetyan 提交于
      * FreeBSD initial support
      
      * first code review fixes
      
      * regs slice upd
      
      * execPtraceFunc wrap
      
      * disabled concurrency tests
      fixed kill() issue
      
      * disabled concurrency tests
      fixed kill() issue
      
      * cleanup vendor related code
      
      * cleanup ptrace calls
      
      * vendoring latest changes
      
      * Revert "vendoring latest changes"
      
      This reverts commit 833cb87b
      
      * vendoring latest changes
      
      * requested changes
      df65be43
  17. 09 7月, 2019 1 次提交
  18. 04 7月, 2019 1 次提交
  19. 03 7月, 2019 1 次提交
    • A
      terminal: adds embedded scripting language (#1466) · ed35dce7
      Alessandro Arzilli 提交于
      If the argument of 'source' ends in '.star' it will be interpreted as a
      starlark script.
      If the argument of 'source' is '-' an interactive starlark repl will be
      started.
      
      For documentation on how the starlark execution environment works see
      Documentation/cli/starlark.md.
      
      The starlark API is autogenerated from the JSON-RPC API by
      script/gen-starlark-bindings.go.
      In general for each JSON-RPC API a single global starlark function is
      created.
      When one of those functions is called (through a starlark script) the
      arguments are converted to go structs using reflection. See
      unmarshalStarlarkValue in pkg/terminal/starbind/conv.go.
      If there are no type conversion errors the JSON-RPC call is executed.
      The return value of the JSON-RPC call is converted back into a starlark
      value by interfaceToStarlarkValue (same file):
      
      * primitive types (such as integers, floats or strings) are converted
        by creating the corresponding starlark value.
      * compound types (such as structs and slices) are converted by wrapping
        their reflect.Value object into a type that implements the relevant
        starlark interfaces.
      * api.Variables are treated specially so that their Value field can be
        of the proper type instead of always being a string.
      
      Implements #1415, #1443
      ed35dce7
  20. 08 1月, 2019 1 次提交
    • A
      tests: fix typecheckrpc.go and convert it to a test · a357ce06
      aarzilli 提交于
      We forgot to run typecheckrpc.go periodically and it didn't work
      anymore and there were some minor errors in service/rpc2/client.go.
      
      Rewrite typecheckrpc.go using go/packages, so that it works with go1.11
      and go.mod, and fix the issues in client.go
      a357ce06
  21. 22 6月, 2018 1 次提交
  22. 23 3月, 2018 1 次提交
  23. 19 1月, 2018 1 次提交
    • Y
      command/terminal: allow restart to change process args (#1060) · c5c41f63
      Yasushi Saito 提交于
      * command/terminal: allow restart to change process args
      
      Add -args flag to "restart" command. For example, "restart -args a b c" will
      pass args a b c to the new process.
      
      Add "-c" flag to pass the checkpoint name. This is needed to disambiguate the
      checkpoint name and arglist.
      
      Reverted unnecessary changes.
      
      * Applied reviewer comments.
      
      Vendored argv.
      
      Change the syntax of restart. When the target is is in recording mode, it always
      interprets the args as a checkpoint. Otherwise, it interprets the args as
      commandline args. The flag "-args" is still there, to handle the case in which
      the user wants to pass an empty args on restart.
      
      * Add restartargs.go.
      
      Change "restart -args" to "restart -noargs" to clarify that this flag is used to
      start a process with an empty arg.
      c5c41f63
  24. 02 8月, 2017 1 次提交
  25. 27 5月, 2017 1 次提交
  26. 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
  27. 01 9月, 2016 1 次提交
  28. 06 7月, 2016 1 次提交
  29. 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
  30. 19 4月, 2016 1 次提交
  31. 20 2月, 2016 1 次提交
  32. 12 2月, 2016 1 次提交
  33. 01 2月, 2016 1 次提交
  34. 25 1月, 2016 1 次提交
    • A
      proc: replace debug/dwarf with golang.org/x/debug/dwarf · 54f1c9b3
      aarzilli 提交于
      Typedefs that resolve to slices are not recorded in DWARF as typedefs
      but instead as structs in a way that there is no way to know they
      are really slices using debug/dwarf.
      Using golang.org/x/debug/dwarf instead this problem is solved and
      as a bonus some types are printed with a nicer names: (struct string
      → string, struct []int → []int, etc)
      
       Fixes #356 and #293
      54f1c9b3
  35. 09 10月, 2015 1 次提交
  36. 01 10月, 2015 1 次提交
  37. 11 12月, 2014 1 次提交
  38. 15 10月, 2014 1 次提交
  39. 14 9月, 2014 1 次提交
    • D
      Update for Go 1.3.1 · f1e5a70a
      Derek Parker 提交于
      I decided to vendor all debug/dwarf and debug/elf files so that the
      project can be go get-table. All changes that I am waiting to land in Go
      1.4 are now captured in /vendor/debug/*.
      f1e5a70a