diff options
author | Michael Chastain <mec@google.com> | 2003-11-30 06:50:49 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2003-11-30 06:50:49 +0000 |
commit | d7afdf9bcecef282a26b2736d160d81261485061 (patch) | |
tree | 085f68b6b559460ecb03c3c558849ae656c69034 /gdb/testsuite/gdb.base/complex.exp | |
parent | a99c632e4feebae3f128128cad495e5ec7c3b3c0 (diff) | |
download | fsf-binutils-gdb-d7afdf9bcecef282a26b2736d160d81261485061.zip fsf-binutils-gdb-d7afdf9bcecef282a26b2736d160d81261485061.tar.gz fsf-binutils-gdb-d7afdf9bcecef282a26b2736d160d81261485061.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.base/complex.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/complex.exp | 2 |
1 files changed, 1 insertions, 1 deletions
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\}" \ |