From: Sandra Loosemore Date: Fri, 20 Nov 2015 00:22:04 +0000 (-0800) Subject: Fix think-o in calls to gdb_compile. X-Git-Tag: gdb-7.11-release~779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e;p=external%2Fbinutils.git Fix think-o in calls to gdb_compile. 2015-11-19 Sandra Loosemore gdb/testsuite/ * gdb.base/nested-subp1.exp: Pass executable, not executable name, as type argument to gdb_compile. * gdb.base/nested-subp2.exp: Likewise. * gdb.base/nested-subp3.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 14c4b41..e584ef0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-11-19 Sandra Loosemore + + * gdb.base/nested-subp1.exp: Pass executable, not executable name, + as type argument to gdb_compile. + * gdb.base/nested-subp2.exp: Likewise. + * gdb.base/nested-subp3.exp: Likewise. + 2015-11-17 Dominik Vogt * lib/dwarf.exp (_note): Fix left shift of negative value. diff --git a/gdb/testsuite/gdb.base/nested-subp1.exp b/gdb/testsuite/gdb.base/nested-subp1.exp index 9720f5b..adfcad3 100644 --- a/gdb/testsuite/gdb.base/nested-subp1.exp +++ b/gdb/testsuite/gdb.base/nested-subp1.exp @@ -26,7 +26,7 @@ set testcase "nested-subp1" if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \ [standard_output_file "${testcase}"] \ - "${testcase}" \ + executable \ [list debug "additional_flags=-std=gnu99"]] != "" } { return -1 } diff --git a/gdb/testsuite/gdb.base/nested-subp2.exp b/gdb/testsuite/gdb.base/nested-subp2.exp index a107d1c..d4fb6f1 100644 --- a/gdb/testsuite/gdb.base/nested-subp2.exp +++ b/gdb/testsuite/gdb.base/nested-subp2.exp @@ -26,7 +26,7 @@ set testcase "nested-subp2" if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \ [standard_output_file "${testcase}"] \ - "${testcase}" \ + executable \ [list debug "additional_flags=-std=gnu99"]] != "" } { return -1 } diff --git a/gdb/testsuite/gdb.base/nested-subp3.exp b/gdb/testsuite/gdb.base/nested-subp3.exp index 8f9b522..0cb10f1 100644 --- a/gdb/testsuite/gdb.base/nested-subp3.exp +++ b/gdb/testsuite/gdb.base/nested-subp3.exp @@ -26,7 +26,7 @@ set testcase "nested-subp3" if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \ [standard_output_file "${testcase}"] \ - "${testcase}" \ + executable \ [list debug "additional_flags=-std=gnu99"]] != "" } { return -1 }