diff options
author | Michael Chastain <mec@google.com> | 2003-12-02 17:53:58 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2003-12-02 17:53:58 +0000 |
commit | f6246aba72a56abc79a4176baad7f88fd12e562f (patch) | |
tree | e7503866adf928e1c1824ff422c110b5ec3e1ae3 /gdb | |
parent | 13ae734acd3e8e0fd1f0db4d68b4932a1b3f59e8 (diff) | |
download | gdb-f6246aba72a56abc79a4176baad7f88fd12e562f.zip gdb-f6246aba72a56abc79a4176baad7f88fd12e562f.tar.gz gdb-f6246aba72a56abc79a4176baad7f88fd12e562f.tar.bz2 |
2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/mips_pro.exp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e519b7a..c1f7e48 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-12-02 Michael Chastain <mec.gnu@mindspring.com> + + Partial fix for PR testsuite/1456. + * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls + to test_compiler_info. + 2003-11-28 Michael Chastain <mec.gnu@mindspring.com> * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes diff --git a/gdb/testsuite/gdb.base/mips_pro.exp b/gdb/testsuite/gdb.base/mips_pro.exp index a860e63..53ea9fd 100644 --- a/gdb/testsuite/gdb.base/mips_pro.exp +++ b/gdb/testsuite/gdb.base/mips_pro.exp @@ -37,7 +37,7 @@ if [get_compiler_info ${binfile}] { # This test must be compiled with -O2 if using gcc. -if {$gcc_compiled} then { +if { [test_compiler_info gcc-*-*] } then { if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" executable {debug additional_flags=-O2}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } @@ -56,7 +56,7 @@ if [runto middle] then { # PR 3016 # warning: Hit heuristic-fence-post without finding # warning: enclosing function for pc 0x1006ead0 - if {$gcc_compiled} then { + if { [test_compiler_info gcc-*-*] } then { setup_xfail "mips*-sgi-irix4*" "mips64*-*-elf" } # The call chain is main -> top -> middle. But gcc can optimize a tail |