2011-05-18 17:08:31 +02:00
|
|
|
--- ./scripts/find-debuginfo.sh.orig 2011-05-11 16:10:22.000000000 +0000
|
|
|
|
+++ ./scripts/find-debuginfo.sh 2011-05-11 16:10:48.000000000 +0000
|
|
|
|
@@ -211,6 +211,17 @@ while read nlinks inum f; do
|
2009-09-02 18:05:59 +02: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*) ;;
|
|
|
|
+ *)
|
|
|
|
+ echo "$f is not an ELF file, skipping"
|
|
|
|
+ continue
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+
|
|
|
|
get_debugfn "$f"
|
|
|
|
[ -f "${debugfn}" ] && continue
|
|
|
|
|