ChangeLog:
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / varargs.exp
index 364e191cc203d40c6a38c934c7a309e1bc9218bd..9c3ef937ab19ed5855d861762173059fb485df38 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright 1997, 1998, 1999, 2000, 2007, 2008 Free Software Foundation, Inc.
+# Copyright 1997, 1998, 1999, 2000, 2007, 2008, 2009
+# Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -13,9 +14,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-# Please email any bugs, comments, and/or additions to this file to:
-# bug-gdb@prep.ai.mit.edu
-
 # This file was written by Elena Zannoni (ezannoni@cygnus.com)
 
 
@@ -47,14 +45,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
 }
This page took 0.024711 seconds and 4 git commands to generate.