From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26599 invoked by alias); 20 Aug 2004 16:34:47 -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 26592 invoked from network); 20 Aug 2004 16:34:46 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 20 Aug 2004 16:34:46 -0000 Received: from zaretski ([80.230.154.60]) by legolas.inter.net.il (MOS 3.4.6-GR) with ESMTP id CIC15320 (AUTH halo1); Fri, 20 Aug 2004 19:34:41 +0300 (IDT) Date: Fri, 20 Aug 2004 16:34:00 -0000 From: "Eli Zaretskii" To: Michael Chastain Message-ID: <01c486d3$Blat.v2.2.2$0991fb80@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: schwab@suse.de, gdb-patches@sources.redhat.com In-reply-to: <412613D1.nail1XO16AREJ@mindspring.com> (message from Michael Chastain on Fri, 20 Aug 2004 11:08:01 -0400) Subject: Re: [rfa/doco] Test Suite: build != host Reply-to: Eli Zaretskii References: <4124776A.nailCD81LG97@mindspring.com> <01c486c5$Blat.v2.2.2$eed2fae0@zahav.net.il> <412613D1.nail1XO16AREJ@mindspring.com> X-SW-Source: 2004-08/txt/msg00598.txt.bz2 [Resending, as it seems like the previous message didn't make it for some reason.] > Date: Fri, 20 Aug 2004 11:08:01 -0400 > From: Michael Chastain > > That's right, it's a literal string. > > Here is an excerpt from a gdb.sum file: > > Running /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.base/unload.exp ... > gdb compile failed, /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.base/unload.c: In function `main': > /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.base/unload.c:39: warning: incompatible implicit declaration of built-in function 'exit' > /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.base/unload.c:47: warning: incompatible implicit declaration of built-in function 'exit' > WARNING: Testcase compile failed, so all tests in this file will automatically fail. > > ERROR: (timeout) GDB never initialized after 10 seconds. > WARNING: remote_expect statement without a default case?! > ERROR: couldn't load /tmp/migbat-testgdb-49vpUkli/test/gdb.base/unload into gdb (end of file). > UNRESOLVED: gdb.base/unload.exp: set pending breakpoint In that case, I suggest to reword the text slightly: DejaGNU supports separate build, host, and target machines. However, some @value{GDBN} test scripts do not work if the host machine and the build machine are not the same. These scripts will say that the result is ``UNRESOLVED'' in such an environment, like this: @smallexample UNRESOLVED: gdb.base/unload.exp: set pending breakpoint @end smallexample