mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 20:23:41 +08:00
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:
committed by
Derek Parker
parent
a2346ef69a
commit
51c342c6b7
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user