This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Update testsuite/pr18689.sh for older GCC


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=45972d00747459a447f7e84891ed6a3367565f24

commit 45972d00747459a447f7e84891ed6a3367565f24
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 20 12:18:06 2015 -0700

    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.

Diff:
---
 gold/testsuite/pr18689.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]