blob: 4d99257a3dfdaf4d4ae6baf27cebb044f4c0bd95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
while read instfile ; do
case $instfile in
*/usr/lib/debug/.build-id/*.debug)
if [ -f "$instfile" ] ; then
BUILDID=$(echo $instfile | sed -ne 's|.*/usr/lib/debug/.build-id/\([0-9a-f]*\)/\([0-9a-f]*\)\.debug|\1\2|p')
echo "debuginfo(build-id) = $BUILDID"
fi
;;
esac
done
|