diff --git a/pkg/proc/bininfo.go b/pkg/proc/bininfo.go index 894e57c45a..d5c743cf21 100644 --- a/pkg/proc/bininfo.go +++ b/pkg/proc/bininfo.go @@ -1291,6 +1291,9 @@ func (bi *BinaryInfo) openSeparateDebugInfo(image *Image, exe *elf.File, debugIn suffix := filepath.Join(filepath.Dir(exePath)[1:], debugLink) find(nil, suffix) } + if debugFilePath == "" { + bi.logger.Warnf("gnu_debuglink link %q not found in any debug info directory", debugLink) + } } if debugFilePath != "" {