delve/pkg
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
..
astutil proc: simplify next/step/stepout condition code 2020-04-04 11:00:54 -07:00
config config: add option for printfile() line count (#2043) 2020-05-11 09:50:25 -07:00
dwarf Go 1.16 support branch (#2214) 2021-01-05 10:56:30 -08:00
gobuild gobuild: pass-through stdout to 'go' command invocation (#2044) 2020-05-11 09:44:25 -07:00
goversion Go 1.16 support branch (#2214) 2021-01-05 10:56:30 -08:00
locspec service,terminal: apply substitute path to trace/break argument 2020-11-17 16:41:35 +01:00
logflags service/rpccommon: log error for conns rejected by --only-same-user (#2211) 2020-10-22 08:23:55 -07:00
proc Go 1.16 support branch (#2214) 2021-01-05 10:56:30 -08:00
terminal terminal: add way to cancel goroutines command with ctrl-C (#2278) 2021-01-04 08:54:39 -08:00
version all: bump version and release notes 2020-12-09 11:38:21 +01:00