aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-07-20 12:18:06 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-07-20 12:20:46 -0700
commit45972d00747459a447f7e84891ed6a3367565f24 (patch)
tree08342baf15b0415dba79209595e92a54e1aed056
parent2bca03770d4d219b4e29d43754a9d95a4152255a (diff)
downloadgdb-45972d00747459a447f7e84891ed6a3367565f24.zip
gdb-45972d00747459a447f7e84891ed6a3367565f24.tar.gz
gdb-45972d00747459a447f7e84891ed6a3367565f24.tar.bz2
Update testsuite/pr18689.sh for older GCC
Older GCC, like 4.2, generates .debug_macinfo section instead of .debug_macro section. This patch updates testsuite/pr18689.sh to support it.
-rwxr-xr-xgold/testsuite/pr18689.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/pr18689.sh b/gold/testsuite/pr18689.sh
index 822ed11..9ca1dfb 100755
--- a/gold/testsuite/pr18689.sh
+++ b/gold/testsuite/pr18689.sh
@@ -23,6 +23,6 @@
set -e
-egrep -q "..debug_macro[ ]+*" pr18689.stdout
+egrep -q "..debug_mac[ro|info][ ]+*" pr18689.stdout
exit 0