delve/pkg/proc
Darren Rambaud bc30b53926
gdbserial/gdbserver: Dynamically resolve debugserver binary (#1994)
* gdbserial/gdbserver: Dynamically resolve debugserver binary

Instead of hardcoding the absolute path to the Command Line
Tools (CLT) binary, will attempt to resolve the path at the
$PATH, or at the Xcode bundle. If none are available, will
fallback to the default CLT location.

Fixes #986

* gdbserial/gdbserver: Log outgoing executed commands

Add logging to capture the executable and associated arguments used
in LLDBLaunch and LLDBAttach

Related to #986

* gdbserial/gdbserver: Add unit tests for helper function

Define unit tests for helper function. Setup each test to temporarily make
PATH variable, and file system changes, and subsequently revert them.

Related to #986

* gdbserial/gdbserver: Lazily load function

Lazily obtain absolute path to avoid increasing load times.

Remove flaky tests.

Related to #986
2020-04-09 13:48:38 -07:00
..
core *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
fbsdutil pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
gdbserial gdbserial/gdbserver: Dynamically resolve debugserver binary (#1994) 2020-04-09 13:48:38 -07:00
linutil pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
native *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
test *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
winutil proc: only format registers value when it's necessary (#1860) 2020-02-12 13:31:48 -08:00
amd64_arch.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
amd64_disasm.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
arch.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
arm64_arch.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
arm64_disasm.go proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00
bininfo.go proc: avoid constructing unnecessary strings when evaluating variables 2020-03-31 10:29:26 -07:00
breakpoints.go pkg/proc: Clean up proc.go 2020-03-24 09:45:29 +01:00
disasm.go proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go *: Fix go vet complaints (#1935) 2020-03-18 09:25:32 -07:00
eval.go proc: avoid constructing unnecessary strings when evaluating variables 2020-03-31 10:29:26 -07:00
fncall.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
goroutine_cache.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
i386_arch.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
i386_disasm.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
interface.go pkg/proc: Clean up proc.go 2020-03-24 09:45:29 +01:00
mem.go More Function Calls, parts 2 (#1504) 2019-05-30 08:08:37 -07:00
moduledata.go proc: support DW_AT_go_package_name (#1757) 2019-11-25 09:10:18 -08:00
pe.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
proc_general_test.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
proc_linux_test.go *: Update import name to github.com/go-delve/delve 2019-01-04 19:43:13 +01:00
proc_test.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
proc_unexported_test.go proc: allow calls to optimized functions (#1684) 2019-09-25 10:23:02 -07:00
proc_unix_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
registers.go *: Add some more documentation to exported types and methods 2020-03-28 19:14:58 +01:00
scope_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
stack.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
target_exec.go proc: simplify next/step/stepout condition code 2020-04-04 11:00:54 -07:00
target.go *: Better error launching invalid binary format 2020-04-02 18:41:16 +02:00
threads.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
types.go proc: convert Arch into a struct (#1972) 2020-03-30 11:03:29 -07:00
variable_test.go pkg/proc: Move proc exec funcs to Target methods 2020-03-25 17:45:12 +01:00
variables.go proc: avoid constructing unnecessary strings when evaluating variables 2020-03-31 10:29:26 -07:00
x86_disasm.go proc: skip autogenerated wrappers when stepping in and out 2020-03-31 10:04:36 -07:00