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.
This commit is contained in:
Sandra Loosemore 2015-11-19 16:22:04 -08:00
parent 7fcdc24df1
commit 96161e2527
4 changed files with 10 additions and 3 deletions

View 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.

View 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
}

View 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
}

View 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
}