OSDN Git Service

* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
authorKevin Buettner <kevinb@redhat.com>
Mon, 29 Jul 2002 23:35:56 +0000 (23:35 +0000)
committerKevin Buettner <kevinb@redhat.com>
Mon, 29 Jul 2002 23:35:56 +0000 (23:35 +0000)
source files.  The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 1aa3202..77be957 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-29  Kevin Buettner  <kevinb@redhat.com>
+
+       * 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  <drow@mvista.com>
 
        * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
index 8d666f9..471d08e 100644 (file)
@@ -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 {}] != "" } {