From 96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Thu, 19 Nov 2015 16:22:04 -0800 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 7 +++++++ gdb/testsuite/gdb.base/nested-subp1.exp | 2 +- gdb/testsuite/gdb.base/nested-subp2.exp | 2 +- gdb/testsuite/gdb.base/nested-subp3.exp | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 14c4b41b37..e584ef06d2 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 9720f5b7c6..adfcad391c 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 a107d1c6f4..d4fb6f14f0 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 8f9b522ac0..0cb10f122c 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 }