pkg/prog: Improve support for external debug info

Adds a config file option to allow specifying a list of directories to
search in when looking for seperate external debug info files.

Fixes #1353
This commit is contained in:
Derek Parker
2018-11-07 14:21:35 -08:00
committed by Derek Parker
parent a2346ef69a
commit 51c342c6b7
19 changed files with 214 additions and 120 deletions

View File

@ -172,7 +172,7 @@ func withCoreFile(t *testing.T, name, args string) *Process {
}
corePath := cores[0]
p, err := OpenCore(corePath, fix.Path)
p, err := OpenCore(corePath, fix.Path, []string{})
if err != nil {
t.Errorf("ReadCore(%q) failed: %v", corePath, err)
pat, err := ioutil.ReadFile("/proc/sys/kernel/core_pattern")