]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/complex.exp
Copyright updates for 2007.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / complex.exp
index f3f25e561b708d446329097f988f196c73763fa3..e017ed8c46385d4e88a2910db8952e04101ddd4a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2003 Free Software Foundation, Inc.
+# Copyright 2003, 2007 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
@@ -48,7 +48,7 @@ gdb_load $binfile
 
 if [runto f2] then {
     get_debug_format
-    if {$gcc_compiled == 2 && [test_debug_format "DWARF 2"]} then {
+    if { [test_compiler_info gcc-2-*] && [test_debug_format "DWARF 2"] } then {
        setup_xfail "*-*-*"
     }
     gdb_test "p *y" "\\\$\[0-9\]* = \{c = 42 '\\*', f = 1 \\+ 0 \\* I\}" \