aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/varargs.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-05-02 20:30:49 +0000
committerDaniel Jacobowitz <drow@false.org>2008-05-02 20:30:49 +0000
commit5ac016828d8af95585ed0d6a9623c04df98a7e8d (patch)
treec297eb7ea8f18c0bf84f08c7d7d9aa7ae60079d1 /gdb/testsuite/gdb.base/varargs.exp
parent2c4044904891e47007a5d189880dbc9eee384005 (diff)
downloadgdb-5ac016828d8af95585ed0d6a9623c04df98a7e8d.zip
gdb-5ac016828d8af95585ed0d6a9623c04df98a7e8d.tar.gz
gdb-5ac016828d8af95585ed0d6a9623c04df98a7e8d.tar.bz2
* gdb.base/completion.exp: Handle lack of other symbols beginning
with "a". * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
Diffstat (limited to 'gdb/testsuite/gdb.base/varargs.exp')
-rw-r--r--gdb/testsuite/gdb.base/varargs.exp9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/varargs.exp b/gdb/testsuite/gdb.base/varargs.exp
index 364e191..f9572a2 100644
--- a/gdb/testsuite/gdb.base/varargs.exp
+++ b/gdb/testsuite/gdb.base/varargs.exp
@@ -47,14 +47,15 @@ if [get_compiler_info ${binfile}] {
return -1
}
+set additional_flags {debug}
+
if {$hp_cc_compiler} {
- set additional_flags "additional_flags=-Ae"
-} else {
- set additional_flags ""
+ lappend additional_flags "additional_flags=-Ae"
}
# build the first test case
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug ${additional_flags}}] != "" } {
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
+ executable ${additional_flags}] != "" } {
untested varargs.exp
return -1
}