delve/pkg
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
..
astutil proc: simplify next/step/stepout condition code 2020-04-04 11:00:54 -07:00
config pkg/config: add max-variable-recurse parameter (#1626) 2019-07-23 14:40:35 -07:00
dwarf *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
gobuild *: Fix go vet complaints (#1935) 2020-03-18 09:25:32 -07:00
goversion travis-ci: autogenerate .travis.yml (#1939) 2020-03-19 11:09:29 -07:00
logflags logflags: Add pid to server-listening-at message (#1885) 2020-03-09 10:14:34 -07:00
proc gdbserial/gdbserver: Dynamically resolve debugserver binary (#1994) 2020-04-09 13:48:38 -07:00
terminal *: un-export unnecessarily public symbols 2020-03-31 14:47:29 -07:00
version all: bump version number and release notes 2020-02-11 11:38:41 +01:00