From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14541 invoked by alias); 29 Jul 2002 23:36:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14533 invoked from network); 29 Jul 2002 23:36:48 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 29 Jul 2002 23:36:48 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g6TNOal27028 for ; Mon, 29 Jul 2002 19:24:36 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g6TNaku19111 for ; Mon, 29 Jul 2002 19:36:46 -0400 Received: from romulus.sfbay.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g6TNaij21125 for ; Mon, 29 Jul 2002 16:36:44 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g6TNahb12263 for gdb-patches@sources.redhat.com; Mon, 29 Jul 2002 16:36:43 -0700 Date: Mon, 29 Jul 2002 16:40:00 -0000 From: Kevin Buettner Message-Id: <1020729233643.ZM12262@localhost.localdomain> To: gdb-patches@sources.redhat.com Subject: [PATCH] lib/gdb.exp: -o doesn't work with -E on Irix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00571.txt.bz2 Another change so that we can test gdb against the Irix compiler. I think this one is reasonably obvious (and safe), so I've checked it in. * 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. Index: testsuite/lib/gdb.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v retrieving revision 1.20 diff -u -p -r1.20 gdb.exp --- testsuite/lib/gdb.exp 11 Jun 2002 20:37:05 -0000 1.20 +++ testsuite/lib/gdb.exp 29 Jul 2002 23:28:45 -0000 @@ -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 {}] != "" } {