[RFA] testsuite cleanups (part 2)
Elena Zannoni
ezannoni@redhat.com
Thu Aug 7 18:17:00 GMT 2003
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
More information about the Gdb-patches
mailing list