Skip to content

Commit

Permalink
bininfo: Log when the file listed in .gnu_debuglink is not found (go-…
Browse files Browse the repository at this point in the history
  • Loading branch information
dlipovetsky authored Nov 10, 2022
1 parent 2c10bb3 commit c7fa713
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/proc/bininfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit c7fa713

Please sign in to comment.