Fix think-o in calls to gdb_compile.
authorSandra Loosemore <sandra@codesourcery.com>
Fri, 20 Nov 2015 00:22:04 +0000 (16:22 -0800)
committerSandra Loosemore <sandra@codesourcery.com>
Fri, 20 Nov 2015 00:22:04 +0000 (16:22 -0800)
2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>

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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/nested-subp1.exp
gdb/testsuite/gdb.base/nested-subp2.exp
gdb/testsuite/gdb.base/nested-subp3.exp

index 14c4b41b37033879d772e47439c933b91bda7d59..e584ef06d2f03ad269edffcbdde6e3bf2d29d54c 100644 (file)
@@ -1,3 +1,10 @@
+2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * 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  <vogt@linux.vnet.ibm.com>
 
        * lib/dwarf.exp (_note): Fix left shift of negative value.
index 9720f5b7c6b93cf15b72fe735e7af306ae332725..adfcad391c69275f5792f36b7479b91b083fd805 100644 (file)
@@ -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
 }
index a107d1c6f4dfd398887aa8dd6ff3494257d96a93..d4fb6f14f046d516b7a55bc27b727a930ba4e7d2 100644 (file)
@@ -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
 }
index 8f9b522ac0d97c80ec926bba831f945257aebbc8..0cb10f122c99512507c4cdf7c1f0bb2981606d40 100644 (file)
@@ -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
 }