From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29589 invoked by alias); 7 Aug 2003 18:17:50 -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 29572 invoked from network); 7 Aug 2003 18:17:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 Aug 2003 18:17:50 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h77IHnt25714 for ; Thu, 7 Aug 2003 14:17:49 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h77IHnx26864 for ; Thu, 7 Aug 2003 14:17:49 -0400 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h77IHmK06350 for ; Thu, 7 Aug 2003 14:17:48 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 8D0DA2CB35; Thu, 7 Aug 2003 14:25:31 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16178.39323.441393.467178@localhost.redhat.com> Date: Thu, 07 Aug 2003 18:17:00 -0000 To: gdb-patches@sources.redhat.com Subject: Re: [RFA] testsuite cleanups (part 2) In-Reply-To: <16166.52191.925152.253688@localhost.redhat.com> References: <16166.52191.925152.253688@localhost.redhat.com> X-SW-Source: 2003-08/txt/msg00104.txt.bz2 Elena Zannoni writes: > > > Here, I am observing a peculiar situation. If you run the testsuite in > a directory that is not the build directory, i.e. the gdb.blah object > dirs are recreated outside of the build tree, you will see that all > the tests which use pthreads.c will not compile. This is because > pthreads.c includes "config.h" which gets created in the build > gdb/testsuite directory at configure time. Config.h was used to > determine if there is posix thread support or not, but now we use the > method of trying to compile with various -lblah so we don't really > need this anymore. > > It took me a while to notice this failure because I have the bad habit > of looking just at the unexpected failures, glossing over the > unsupported results. > > OK? > > elena > > [PS. I assume I used the correct autoconf, but I am nost sure: I used the > autoconf-000227 snapshot]. > > 2003-07-29 Elena Zannoni > > * configure.in: Don't generate config.h from config.hin. > * configure: Regenerate. > * config.h: Remove file. > * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs. > * gdb.threads/pthreads.c: Ditto. committed mainline&branch elena