1. 03 10月, 2020 1 次提交
  2. 29 9月, 2020 1 次提交
  3. 28 9月, 2020 1 次提交
  4. 24 9月, 2020 4 次提交
    • A
      proc/tests: keep track of tests skipped due to backend problems (#2178) · 84328ed8
      Alessandro Arzilli 提交于
      * proc/tests: keep track of tests skipped due to backend problems
      
      Mark tests skipped due to backend problems and add a script to keep
      track of them.
      
      * Travis-CI: add ignorechecksum option to chocolatey command
      
      Looks like a configuration problem on chocolatey's end.
      84328ed8
    • A
      proc: use argument position for addr only when injecting function calls (#2181) · 7e00666b
      Alessandro Arzilli 提交于
      * proc: use argument position for addr only when injecting function calls
      
      We can not, in general, use the argument position to determine the
      address of a formal parameter, it will not work in presence of
      optimizations or inlining. In those cases formal arguments could be
      stored in registers.
      
      Fixes #2176
      
      * Travis-CI: add ignorechecksum option to chocolatey command
      
      Looks like a configuration problem on chocolatey's end.
      Co-authored-by: Na <a@kra>
      7e00666b
    • A
      dwarf/line: ignore end_of_sequence entry if AllPCsBetween (#2180) · 2bd38fff
      Alessandro Arzilli 提交于
      * dwarf/line: ignore end_of_sequence entry if AllPCsBetween
      
      Go 1.15 (but possibly prior versions of Go too) has a tendency to use
      an address in the middle of an instruction for this entry, but if it
      was correct it would be after the last instruction of the function
      anyway.
      
      This problem manifests especially frequently as a target crash in
      TestStepConcurrentPtr on linux/arm64 (~6% of the runs).
      
      * Travis-CI: add ignorechecksum option to chocolatey command
      
      Looks like a configuration problem on chocolatey's end.
      Co-authored-by: Na <a@kra>
      2bd38fff
    • A
      service/*: remove threadID argument of (*Debugger).PackageVariables (#2182) · 310a124d
      Alessandro Arzilli 提交于
      * Travis-CI: add ignorechecksum option to chocolatey command
      
      Looks like a configuration problem on chocolatey's end.
      
      * service/*: remove threadID argument of (*Debugger).PackageVariables
      
      Which thread is used doesn't make any difference to the list of package
      variables that is returned and this option was only ever used by an old
      v1 API call.
      310a124d
  5. 16 9月, 2020 4 次提交
    • A
      proc: resolve symlinks when searching for split debug_info if path is /proc/pid/exe (#2170) · 85952c08
      Alessandro Arzilli 提交于
      * Revert "proc: Find executable should follow symbol links."
      
      This reverts commit 3e04ad0f.
      
      * proc: resolve symlinks when searching for split debug_info if path is /proc/pid/exe
      
      Fixes #2168
      85952c08
    • E
      service/dap: pull in newer version of google/go-dap (#2167) · 34777729
      Eli Bendersky 提交于
      Pulls in v0.3.0 of google/go-dap; this version has some fixes and API
      improvements which service/dap will be able to leverage to clean up some
      code.
      34777729
    • A
      proc/gdbserial: fix two protocol bugs (#2172) · 4dc8aedc
      Alessandro Arzilli 提交于
      During the testing of the core dump generation feature two bugs were
      discovered in gdbserial:
      
      1. we don't check that both bytes of the checksum are read, if the
         buffer only has one byte we can end up reading only one byte instead
         of two and the second byte will mess up the parsing of the next
         packet
      2. binary encoded packets can start with an 'E' and not be errors, when
         using binary responses add an extra check for the lenght of the
         response before deciding that the response is an error.
         Unfortunately this encoding is inherently ambiguous (we can't
         distinguish a 3 byte response starting with 'E' from an error) so
         binary requests that lead to short responses should be avoided.
      
      Testing this is complicated, they will be tested implicitly by the
      upcoming core dump test.
      Co-authored-by: Na <a@kra>
      4dc8aedc
    • P
      service/dap: Add support for package globals to scopes/variables requests (#2160) · 4980fff8
      polinasok 提交于
      * Support global variables
      
      * Respond to review comments
      
      * Clarify comment
      
      * Add more details to test error messages
      
      * Remove flaky main..inittask checks
      
      * Rename globals flag to match vscode-go
      
      * Normalize filepath with slash separator
      
      * Improve handling for unknown package
      
      * Tweak error message
      
      * More refactoring, normalization and error details to deal with Win test failures
      
      * Clean up optional launch args processing
      
      * Add CurrentPackage to debugger and use instead of ListPackagesBuildInfo
      Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
      4980fff8
  6. 11 9月, 2020 1 次提交
  7. 10 9月, 2020 4 次提交
  8. 09 9月, 2020 1 次提交
  9. 02 9月, 2020 1 次提交
    • A
      cmd,proc,terminal,debugger: Support default file descriptor redirects · 7555d1c0
      aarzilli 提交于
      Adds features to support default file descriptor redirects for the
      target process:
      
      1. A new command line flag '--redirect' and '-r' are added to specify
         file redirects for the target process
      2. New syntax is added to the 'restart' command to specify file
         redirects.
      3. Interactive instances will check if stdin/stdout and stderr are
         terminals and print a helpful error message if they aren't.
      7555d1c0
  10. 01 9月, 2020 5 次提交
  11. 28 8月, 2020 2 次提交
  12. 25 8月, 2020 4 次提交
  13. 18 8月, 2020 4 次提交
  14. 17 8月, 2020 3 次提交
  15. 13 8月, 2020 1 次提交
  16. 11 8月, 2020 1 次提交
    • P
      service/dap: Initial support for scopes and variables requests (#2111) · 58ea3234
      polinasok 提交于
      * Initial support for scopes and variables requests
      
      * Add detailed variables test
      
      * Address review comments
      
      * Fix typo and redudant escaped characters
      
      * Bug fix for uninitialized interfaces; no refs needed for 0-size vars
      
      * Minor cosmetic tweaks
      
      * Add incomplete loading test
      
      * Make DeepSource happy
      
      * Remove unnecessary t.Helper() calls
      
      * Update broken test after merge
      
      * Add missing return
      
      * Rework test harness to abort testvariables2 before stack overflow
      
      * Remove accidentally duplicated disconnet
      
      * Test for invalid interface type with regex
      
      * Drop testvariables3, clean up and test unreadable case
      
      * Respond to review comments
      
      * Make expectVar test helper less fragile
      
      * Make DeepSource happy
      
      * Use proc.LoadConfig directly
      
      * Adjust test to avoid var count discrepency between Go 1.15 and earlier
      
      * Make compound keys in a map unique for correct display
      
      * Remove locals num check that will break if more vars are added
      Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
      58ea3234
  17. 06 8月, 2020 2 次提交