2021-09-24 08:49:04 +00:00
|
|
|
--- ./scripts/find-debuginfo.in.orig 2021-09-23 20:28:21.646855995 +0000
|
|
|
|
+++ ./scripts/find-debuginfo.in 2021-09-23 20:28:53.530790698 +0000
|
|
|
|
@@ -434,6 +434,16 @@ while read nlinks inum f; do
|
2017-01-19 15:41:55 +00:00
|
|
|
;;
|
2009-09-02 16:05:59 +00:00
|
|
|
*) continue ;;
|
|
|
|
esac
|
|
|
|
+ # double check that we really have an ELF file,
|
|
|
|
+ # to handle monodevelop-debugger-gdb and monodevelop-debugger-mdb
|
|
|
|
+ ftype=`/usr/bin/file $f | cut -d: -f2-`
|
|
|
|
+ case $ftype in
|
|
|
|
+ *ELF*) ;;
|
|
|
|
+ *)
|
2017-12-05 10:46:24 +00:00
|
|
|
+ echo "$f is not an ELF file, skipping"
|
|
|
|
+ continue
|
|
|
|
+ ;;
|
2009-09-02 16:05:59 +00:00
|
|
|
+ esac
|
2017-12-05 10:46:24 +00:00
|
|
|
if [ $nlinks -gt 1 ]; then
|
|
|
|
var=seen_$inum
|
|
|
|
if test -n "${!var}"; then
|