-# 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
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\}" \