2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Sun, 30 Nov 2003 06:50:49 +0000 (06:50 +0000)
committerMichael Chastain <mec@google.com>
Sun, 30 Nov 2003 06:50:49 +0000 (06:50 +0000)
Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/complex.exp

index 5751971f8b0706b9f5017173a0fdc3f80e3f90d0..eb4f19e90ce0e718894acfbc9bcd9819547d669a 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/complex.exp: Replace reference to gcc_compiled with
+       call to test_compiler_info.
+
 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
 
        * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
index f3f25e561b708d446329097f988f196c73763fa3..fac7f4f45c8e59a91c89f8e54f1447725fd1d165 100644 (file)
@@ -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\}" \