diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-08-07 17:49:22 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-08-07 17:49:22 +0000 |
commit | 5710a1afa99d21787b0eea1a876115767684329d (patch) | |
tree | 50b4ff930eae10e85f24422d12f6df629028a4ce /gdb/testsuite/gdb.mi | |
parent | 2fcf52f0db49d500af7b7151e00e432cd9ae86f7 (diff) | |
download | gdb-5710a1afa99d21787b0eea1a876115767684329d.zip gdb-5710a1afa99d21787b0eea1a876115767684329d.tar.gz gdb-5710a1afa99d21787b0eea1a876115767684329d.tar.bz2 |
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* configure.in: Don't generate config.h from config.hin.
* configure: Regenerate.
* config.hin: Remove file.
* gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
* gdb.threads/pthreads.c: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/pthreads.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gdb/testsuite/gdb.mi/pthreads.c b/gdb/testsuite/gdb.mi/pthreads.c index c3e17bc..1ba5a15 100644 --- a/gdb/testsuite/gdb.mi/pthreads.c +++ b/gdb/testsuite/gdb.mi/pthreads.c @@ -1,26 +1,4 @@ #include <stdio.h> - -#include "config.h" - -#ifndef HAVE_PTHREAD_H - -/* Don't even try to compile. In fact, cause a syntax error that we can - look for as a compiler error message and know that we have no pthread - support. In that case we can just suppress the test completely. */ - -#error "no posix threads support" - -#else - -/* OK. We have the right header. If we try to compile this and fail, then - there is something wrong and the user should know about it so the testsuite - should issue an ERROR result.. */ - -#ifdef __linux__ -#define _MIT_POSIX_THREADS 1 /* GNU/Linux (or at least RedHat 4.0) - needs this */ -#endif - #include <pthread.h> /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create @@ -77,4 +55,3 @@ main (int argc, char *argv[]) return 0; } -#endif /* ifndef HAVE_PTHREAD_H */ |