diff options
Diffstat (limited to '')
-rw-r--r-- | testsuite/dwz.tests/gdb-add-index.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/gdb-add-index.sh b/testsuite/dwz.tests/gdb-add-index.sh new file mode 100644 index 0000000..3095efb --- /dev/null +++ b/testsuite/dwz.tests/gdb-add-index.sh @@ -0,0 +1,15 @@ +cp $execs/hello 1 + +# Redirect gdb-add-index stderr to stdout. +# https://sourceware.org/bugzilla/show_bug.cgi?id=29316 +gdb-add-index 1 2>&1 + +readelf -S 1 | grep -q '\.gdb_index' + +dwz 1 -o 2 + +readelf -S 2 | grep -q '\.gdb_index' + +smaller-than.sh 2 1 + +rm -f 1 2 |