From: Sandra Loosemore Date: Fri, 20 Nov 2015 00:22:04 +0000 (-0800) Subject: Fix think-o in calls to gdb_compile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e;p=binutils-gdb.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 14c4b41b370..e584ef06d2f 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 9720f5b7c6b..adfcad391c6 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 a107d1c6f4d..d4fb6f14f04 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 8f9b522ac0d..0cb10f122c9 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 }