From d7afdf9bcecef282a26b2736d160d81261485061 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Sun, 30 Nov 2003 06:50:49 +0000 Subject: [PATCH] 2003-11-29 Michael Chastain Partial fix for PR testsuite/1456. * gdb.base/complex.exp: Replace reference to gcc_compiled with call to test_compiler_info. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/complex.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5751971..eb4f19e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-11-29 Michael Chastain + + 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 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set diff --git a/gdb/testsuite/gdb.base/complex.exp b/gdb/testsuite/gdb.base/complex.exp index f3f25e5..fac7f4f 100644 --- a/gdb/testsuite/gdb.base/complex.exp +++ b/gdb/testsuite/gdb.base/complex.exp @@ -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\}" \ -- 2.7.4