Skip to content

Commit

Permalink
pfelf: fix debug link path
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Savoire <[email protected]>
  • Loading branch information
Gandem and nsavoire authored Jun 26, 2024
1 parent 6053e16 commit 63a1c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpf/pfelf/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ func (f *File) OpenDebugLink(elfFilePath string, elfOpener ELFOpener) (
}
for _, dir := range globalDebugDirectories {
debugDirectories = append(debugDirectories,
filepath.Join(dir, filepath.Base(executablePath)))
filepath.Join(dir, executablePath))
}

for _, debugPath := range debugDirectories {
Expand Down

0 comments on commit 63a1c2a

Please sign in to comment.