This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] testsuite cleanups (part 2)
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 7 Aug 2003 14:25:31 -0400
- Subject: Re: [RFA] testsuite cleanups (part 2)
- References: <16166.52191.925152.253688@localhost.redhat.com>
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 <ezannoni@redhat.com>
>
> * 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