Bug 397238

Summary: Look up of separate debuginfo does not search by build-id in --extra-debuginfo-path
Product: [Developer tools] valgrind Reporter: amc <amcalvo>
Component: generalAssignee: Julian Seward <jseward>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.14 SVN   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: [PATCH] Find debuginfo by build-id when using --extra-debuginfo-path

Description amc 2018-08-07 11:38:56 UTC
Created attachment 114354 [details]
[PATCH] Find debuginfo by build-id when using --extra-debuginfo-path

The option --extra-debuginfo-path fails to look up debug info files by build-id in the specified directory.  This contrasts with GDB's behaviour, so the same set of debuginfo files cannot be used for both.

The attached patch implements this functionality.

Please let me know of any defects or improvements.

Best regards,
Adrián.