delve/service
Alessandro Arzilli 6dd686ca49
Go 1.16 support branch (#2214)
* proc: misc test fixes for Go 1.16

* proc: fix cgo stacktraces in Go 1.16 with simplified C -> Go call path

* dwarf/line: make dwarf/line correct when '\\' are used

Our code depends heavily on paths being '/' separated because go always
produced '/' separated file paths. The call to filepath.Join will
normalize the paths, on windows, to always be '\\' separated, which
violated our assumptions.

This didn't use to be a problem because the codepath that calls
filepath.Join was never exercised by executable files produced by Go,
but Go 1.16 started producing debug_line sections that use the
directory table with https://go-review.googlesource.com/c/go/+/263017/.

Fix this to always use path.Join after making sure, on windows, to
always normalize paths to use '/' as a separator. Replace the use of
filepath.IsAbs with an operating system independent version.

* goversion: bump supported Go version
2021-01-05 10:56:30 -08:00
..
api service/api: Expose WaitSince and WaitReason fields for goroutines (#2264) 2020-12-14 09:31:45 -08:00
dap service/dap: Support local attach (#2260) 2020-12-28 09:14:15 -08:00
debugger debugger: check that target is valid when detaching (#2263) 2020-12-15 08:13:13 -08:00
rpc1 service,terminal: apply substitute path to trace/break argument 2020-11-17 16:41:35 +01:00
rpc2 service,terminal: apply substitute path to trace/break argument 2020-11-17 16:41:35 +01:00
rpccommon service/rpccommon: log error for conns rejected by --only-same-user (#2211) 2020-10-22 08:23:55 -07:00
test Go 1.16 support branch (#2214) 2021-01-05 10:56:30 -08:00
client.go service,terminal: apply substitute path to trace/break argument 2020-11-17 16:41:35 +01:00
config.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
listenerpipe.go cmd,service: in non-headless mode use an in-memory connection 2018-10-08 15:11:13 -07:00
rpccallback.go Replaced net/rpc with custom version 2016-07-02 12:16:06 +02:00
server.go cmd,service: remove temporary def of Server interface in func 2018-10-09 07:56:48 -07:00