diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-11-19 16:22:04 -0800 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-11-19 16:22:04 -0800 |
commit | 96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e (patch) | |
tree | a736431da2afb5efaedd5847e609ff2023601cab /gdb/testsuite | |
parent | 7fcdc24df1cfbf6c26be311efc2a6ea1abc3d34f (diff) | |
download | gdb-96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e.zip gdb-96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e.tar.gz gdb-96161e2527c6fdc5c507fa1c0b8e7b8e7a08a03e.tar.bz2 |
Fix think-o in calls to gdb_compile.
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/nested-subp1.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/nested-subp2.exp | 2 | ||||
-rw-r--r-- | 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 14c4b41..e584ef0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. 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 } |