From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9345 invoked by alias); 4 Feb 2004 11:58: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 9334 invoked from network); 4 Feb 2004 11:58:44 -0000 Received: from unknown (HELO mwinf0801.wanadoo.fr) (193.252.22.23) by sources.redhat.com with SMTP; 4 Feb 2004 11:58:44 -0000 Received: from takamaka.act-europe.fr (AStDenis-103-1-1-81.w81-249.abo.wanadoo.fr [81.249.111.81]) by mwinf0801.wanadoo.fr (SMTP Server) with ESMTP id 20AA91800120 for ; Wed, 4 Feb 2004 12:58:43 +0100 (CET) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 21C4E47D62; Wed, 4 Feb 2004 15:58:40 +0400 (RET) Date: Wed, 04 Feb 2004 11:58:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Problems with dejagnu and c++ tests... Message-ID: <20040204115840.GW18961@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-02/txt/msg00067.txt.bz2 I was wondering if somebody could help understand a problem that all of a sudden appeared on me. I am running the testsuite on Tru64, and I don't have a C++ compiler on this target (and I never have). Up until recently, the gdb.cp tests where executed as best as they could. But I tried running it today, and kaboum: << Running ./gdb.cp/ambiguous.exp ... ERROR: (DejaGnu) proc "default_target_compile: Can't find g++." does not exist. The error code is NONE The info on the error is: close: invalid spawn id (6) while executing "close -i 6" invoked from within "catch "close -i $spawn_id"" >> The error, unfortunately, is simply aborting my run, and I don't understand why. As best as I can determine, the sequence of calls goes like this: gdb_compile -> target_compile -> default_target_compile target_compile returns what default_target_compile returned, which is return "default_target_compile: Can't find $compiler." And then the postprocessing of the output by gdb_compile looks like: set result [target_compile $source $dest $type $options]; regsub "\[\r\n\]*$" "$result" "" result; regsub "^\[\r\n\]*" "$result" "" result; if { $result != "" && [lsearch $options quiet] == -1} { clone_output "gdb compile failed, $result" } return $result; Does anybody have a clue of what's happening? Thanks, -- Joel