From 28f4966bbb877f73443df7b777075fbbc4ddfa0d Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Mon, 29 Jul 2002 23:35:56 +0000 Subject: [PATCH] * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing source files. The ``-o'' option doesn't work with the ``-E'' option when using the Irix compiler. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/lib/gdb.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1aa3202715..77be95732c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-07-29 Kevin Buettner + + * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing + source files. The ``-o'' option doesn't work with the ``-E'' option + when using the Irix compiler. + 2002-07-19 Daniel Jacobowitz * config/gdbserver.exp (gdb_load): Don't use TCL varargs. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 8d666f936e..471d08e24a 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -959,7 +959,7 @@ proc get_compiler_info {binfile args} { global signed_keyword_not_used global gcc_compiled - if {![istarget "hppa*-*-hpux*"]} { + if {![istarget "hppa*-*-hpux*"] && ![istarget "mips*-*-irix*"]} { if { [llength $args] > 0 } { if {$args == "c++"} { if { [gdb_compile "${srcdir}/lib/compiler.cc" "${binfile}.ci" preprocess {}] != "" } {