1. 06 7月, 2016 1 次提交
  2. 03 7月, 2016 1 次提交
  3. 30 6月, 2016 1 次提交
    • A
      proc: detect when Launching non-executable files · 51c39ed1
      aarzilli 提交于
      This provides a better error message when the user tries to run dlv
      debug on a directory that does not contain a main package, when `dlv
      exec` is used with a source file.
      
      Additionally the architecture of the executable is checked as suggested
      by @alexbrainman in #443.
      
      Fixes #509
      51c39ed1
  4. 30 5月, 2016 2 次提交
    • D
      all: Fix typos · 0fded288
      Derek Parker 提交于
      0fded288
    • 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
  5. 22 4月, 2016 1 次提交
    • M
      proc: Fix command-line arguments on Windows (#501) · 60946a75
      Matias Lahti 提交于
      * proc: add tests for command-line arguments
      
      adds tests to make sure command-line arguments are passed to Launch() properly
      
      * proc_windows: pass command-line arguments to CreateProcess()
      
      build command-line arguments according to how the standard library does it and pass the command line along to the actual syscall on Windows.
      
      see discussion in #479
      
      * proc: better testing of cmd-line arguments
      
      * proc_windows: fix a possible error-case with passing just 1 argument
      
      previously, the command line pointer passed to sys.CreateProcess was empty, if we had 0 parameters (len(cmd) == 1, as cmd[0] is the executable, so no cmdlineGo would be created, while with any argument it would as len(cmd) > 1). This might cause problems down the road, so make sure we include the command line every time, even if it seems to work without.
      
      * proc: improve testing of command-line arguments
      
      test that arguments with spaces are passed on correctly and DRY failure/success condition checking in the args test
      60946a75
  6. 19 2月, 2016 1 次提交
    • A
      proc: replace cgo with syscalls on windows · 8d4d0871
      Alex Brainman 提交于
      Unrelated to conversion, I have also changed (*Thread).readMemory
      to return only first count bytes of memory just as advised
      by ReadProcessMemory.
      
      Fixes #409
      Fixes #412
      Fixes #416
      8d4d0871
  7. 06 2月, 2016 1 次提交
  8. 25 1月, 2016 3 次提交
  9. 21 1月, 2016 1 次提交