diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-05-02 20:30:49 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-05-02 20:30:49 +0000 |
commit | 5ac016828d8af95585ed0d6a9623c04df98a7e8d (patch) | |
tree | c297eb7ea8f18c0bf84f08c7d7d9aa7ae60079d1 /gdb/testsuite/gdb.base/varargs.exp | |
parent | 2c4044904891e47007a5d189880dbc9eee384005 (diff) | |
download | gdb-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.exp | 9 |
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 } |