1 |
commit de7a1e279f8a21fe3494daeb27801db74e8420c5 |
2 |
Author: Panu Matilainen <pmatilai@redhat.com> |
3 |
Date: Tue Jan 17 12:21:48 2017 +0200 |
4 |
|
5 |
Resurrect GDB index generation (RhBug:1410907) |
6 |
|
7 |
Commit 54d30ac4a344770571e56c60281a9130b61c1788 broke GDB index |
8 |
generation due to a leftover "[". In git master this got fixed in |
9 |
commit 67d3df338875ad5d9601e360bfdbd4289f271bc1 but we don't want |
10 |
that on 4.13.x because there are behavior changes involved, so |
11 |
fixing this specifically on the 4.13.x branch. |
12 |
|
13 |
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh |
14 |
index a70ef3c..4293261 100644 |
15 |
--- a/scripts/find-debuginfo.sh |
16 |
+++ b/scripts/find-debuginfo.sh |
17 |
@@ -312,7 +312,7 @@ while read nlinks inum f; do |
18 |
$strict && exit 2 |
19 |
fi |
20 |
|
21 |
- [ type gdb-add-index >/dev/null 2>&1 && gdb-add-index "$f" > /dev/null 2>&1 |
22 |
+ type gdb-add-index >/dev/null 2>&1 && gdb-add-index "$f" > /dev/null 2>&1 |
23 |
|
24 |
# A binary already copied into /usr/lib/debug doesn't get stripped, |
25 |
# just has its file names collected and adjusted. |