aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-05-04 15:18:21 +0000
committerAndrew Cagney <cagney@redhat.com>2002-05-04 15:18:21 +0000
commitb9c07f0f780871624cd4556936f931cdaea26995 (patch)
treef1dd6a43108fd07a6eb1a0e183a95144aad983dd /gdb/testsuite/gdb.hp
parentbf0c5130d28f010c62fcec83cc8775ebc321f19e (diff)
downloadgdb-b9c07f0f780871624cd4556936f931cdaea26995.zip
gdb-b9c07f0f780871624cd4556936f931cdaea26995.tar.gz
gdb-b9c07f0f780871624cd4556936f931cdaea26995.tar.bz2
* gdb.base/default.exp: Remove obsolete code.
* gdb.c++/misc.exp: Ditto. Update copyright. * gdb.c++/cplusfuncs.exp: Ditto. Update copyright. * gdb.base/whatis.exp: Ditto. Update copyright. * gdb.base/scope.exp: Ditto. Update copyright. * gdb.base/ptype.exp: Ditto. Update copyright. * gdb.base/printcmds.exp: Ditto. Update copyright. * gdb.base/opaque.exp: Ditto. Update copyright. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. Update copyright. * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete. * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete. * gdb.hp/gdb.threads-hp/usrthcore.c: Delete. * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete. * gdb.hp/gdb.threads-hp/usrthfork.c: Delete. * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
Diffstat (limited to 'gdb/testsuite/gdb.hp')
-rw-r--r--gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.c171
-rw-r--r--gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.exp110
-rw-r--r--gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.c177
-rw-r--r--gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.exp92
-rw-r--r--gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.c17
-rw-r--r--gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.exp75
6 files changed, 0 insertions, 642 deletions
diff --git a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.c b/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.c
deleted file mode 100644
index 043b2a6..0000000
--- a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.c
+++ /dev/null
@@ -1,171 +0,0 @@
-/* OBSOLETE #include <stdio.h> */
-/* OBSOLETE */
-/* OBSOLETE /* #include "config.h" */ */
-/* OBSOLETE #define HAVE_PTHREAD_H */
-/* OBSOLETE #define __hpux__ */
-/* OBSOLETE #define __osf__ */
-/* OBSOLETE */
-/* OBSOLETE #ifndef HAVE_PTHREAD_H */
-/* OBSOLETE */
-/* OBSOLETE /* Don't even try to compile. In fact, cause a syntax error that we can */
-/* OBSOLETE look for as a compiler error message and know that we have no pthread */
-/* OBSOLETE support. In that case we can just suppress the test completely. */ */
-/* OBSOLETE */
-/* OBSOLETE #error "no posix threads support" */
-/* OBSOLETE */
-/* OBSOLETE #else */
-/* OBSOLETE */
-/* OBSOLETE /* OK. We have the right header. If we try to compile this and fail, then */
-/* OBSOLETE there is something wrong and the user should know about it so the testsuite */
-/* OBSOLETE should issue an ERROR result.. */ */
-/* OBSOLETE */
-/* OBSOLETE #ifdef __linux__ */
-/* OBSOLETE #define _MIT_POSIX_THREADS 1 /* Linux (or at least RedHat 4.0) needs this */ */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE #include <pthread.h> */
-/* OBSOLETE */
-/* OBSOLETE /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create */
-/* OBSOLETE is prototyped to be just a "pthread_attr_t", while under Solaris it */
-/* OBSOLETE is a "pthread_attr_t *". Arg! */ */
-/* OBSOLETE */
-/* OBSOLETE #if defined (__osf__) || defined (__hpux__) */
-/* OBSOLETE #define PTHREAD_CREATE_ARG2(arg) arg */
-/* OBSOLETE #define PTHREAD_CREATE_NULL_ARG2 null_attr */
-/* OBSOLETE static pthread_attr_t null_attr; */
-/* OBSOLETE #else */
-/* OBSOLETE #define PTHREAD_CREATE_ARG2(arg) &arg */
-/* OBSOLETE #define PTHREAD_CREATE_NULL_ARG2 NULL */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE static int verbose = 0; */
-/* OBSOLETE */
-/* OBSOLETE static void */
-/* OBSOLETE common_routine (arg) */
-/* OBSOLETE int arg; */
-/* OBSOLETE { */
-/* OBSOLETE static int from_thread1; */
-/* OBSOLETE static int from_thread2; */
-/* OBSOLETE static int from_main; */
-/* OBSOLETE static int hits; */
-/* OBSOLETE static int full_coverage; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf("common_routine (%d)\n", arg); */
-/* OBSOLETE hits++; */
-/* OBSOLETE switch (arg) */
-/* OBSOLETE { */
-/* OBSOLETE case 0: */
-/* OBSOLETE from_main++; */
-/* OBSOLETE break; */
-/* OBSOLETE case 1: */
-/* OBSOLETE from_thread1++; */
-/* OBSOLETE break; */
-/* OBSOLETE case 2: */
-/* OBSOLETE from_thread2++; */
-/* OBSOLETE break; */
-/* OBSOLETE } */
-/* OBSOLETE if (from_main && from_thread1 && from_thread2) */
-/* OBSOLETE full_coverage = 1; */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE static void * */
-/* OBSOLETE thread1 (void *arg) */
-/* OBSOLETE { */
-/* OBSOLETE int i; */
-/* OBSOLETE int z = 0; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf ("thread1 (%0x) ; pid = %d\n", arg, getpid ()); */
-/* OBSOLETE for (i=1; i <= 10000000; i++) */
-/* OBSOLETE { */
-/* OBSOLETE if (verbose) printf("thread1 %d\n", pthread_self ()); */
-/* OBSOLETE z += i; */
-/* OBSOLETE common_routine (1); */
-/* OBSOLETE sleep(1); */
-/* OBSOLETE } */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE static void * */
-/* OBSOLETE thread2 (void * arg) */
-/* OBSOLETE { */
-/* OBSOLETE int i; */
-/* OBSOLETE int k = 0; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf ("thread2 (%0x) ; pid = %d\n", arg, getpid ()); */
-/* OBSOLETE for (i=1; i <= 10000000; i++) */
-/* OBSOLETE { */
-/* OBSOLETE if (verbose) printf("thread2 %d\n", pthread_self ()); */
-/* OBSOLETE k += i; */
-/* OBSOLETE common_routine (2); */
-/* OBSOLETE sleep(1); */
-/* OBSOLETE } */
-/* OBSOLETE sleep(100); */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE int */
-/* OBSOLETE foo (a, b, c) */
-/* OBSOLETE int a, b, c; */
-/* OBSOLETE { */
-/* OBSOLETE int d, e, f; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf("a=%d\n", a); */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE main(argc, argv) */
-/* OBSOLETE int argc; */
-/* OBSOLETE char **argv; */
-/* OBSOLETE { */
-/* OBSOLETE pthread_t tid1, tid2; */
-/* OBSOLETE int j; */
-/* OBSOLETE int t = 0; */
-/* OBSOLETE void (*xxx) (); */
-/* OBSOLETE pthread_attr_t attr; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf ("pid = %d\n", getpid()); */
-/* OBSOLETE */
-/* OBSOLETE foo (1, 2, 3); */
-/* OBSOLETE */
-/* OBSOLETE #ifndef __osf__ */
-/* OBSOLETE if (pthread_attr_init (&attr)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_attr_init 1"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE #ifdef PTHREAD_SCOPE_SYSTEM */
-/* OBSOLETE if (pthread_attr_setscope (&attr, PTHREAD_SCOPE_SYSTEM)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_attr_setscope 1"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE if (pthread_create (&tid1, pthread_attr_default, thread1, (void *) 0xfeedface)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_create 1"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE if (verbose) printf ("Made thread %d\n", tid1); */
-/* OBSOLETE sleep (1); */
-/* OBSOLETE */
-/* OBSOLETE if (pthread_create (&tid2, null_attr, thread2, (void *) 0xdeadbeef)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_create 2"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE if (verbose) printf("Made thread %d\n", tid2); */
-/* OBSOLETE */
-/* OBSOLETE sleep (1); */
-/* OBSOLETE */
-/* OBSOLETE for (j = 1; j <= 10000000; j++) */
-/* OBSOLETE { */
-/* OBSOLETE if (verbose) printf("top %d\n", pthread_self ()); */
-/* OBSOLETE common_routine (0); */
-/* OBSOLETE sleep(1); */
-/* OBSOLETE t += j; */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE exit(0); */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE #endif /* ifndef HAVE_PTHREAD_H */ */
diff --git a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.exp b/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.exp
deleted file mode 100644
index 60f3605..0000000
--- a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthbasic.exp
+++ /dev/null
@@ -1,110 +0,0 @@
-# OBSOLETE # usrthbasic.exp -- Expect script to test gdb with user threads
-# OBSOLETE # Copyright (C) 1992 Free Software Foundation, Inc.
-# OBSOLETE
-# OBSOLETE # This program is free software; you can redistribute it and/or modify
-# OBSOLETE # it under the terms of the GNU General Public License as published by
-# OBSOLETE # the Free Software Foundation; either version 2 of the License, or
-# OBSOLETE # (at your option) any later version.
-# OBSOLETE #
-# OBSOLETE # This program is distributed in the hope that it will be useful,
-# OBSOLETE # but WITHOUT ANY WARRANTY; without even the implied warranty of
-# OBSOLETE # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# OBSOLETE # GNU General Public License for more details.
-# OBSOLETE #
-# OBSOLETE # You should have received a copy of the GNU General Public License
-# OBSOLETE # along with this program; if not, write to the Free Software
-# OBSOLETE # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-# OBSOLETE
-# OBSOLETE # Please email any bugs, comments, and/or additions to this file to:
-# OBSOLETE # bug-gdb@prep.ai.mit.edu
-# OBSOLETE
-# OBSOLETE # use this to debug:
-# OBSOLETE #
-# OBSOLETE #log_user 1
-# OBSOLETE
-verbose "HP's thread tests are broken beyond repair right now."
-return 0
-# OBSOLETE
-# OBSOLETE if $tracelevel {
-# OBSOLETE strace $tracelevel
-# OBSOLETE }
-# OBSOLETE
-# OBSOLETE if { [skip_hp_tests] } { continue }
-# OBSOLETE
-# OBSOLETE if { ![istarget "hppa*-*-hpux*"] || [istarget "hppa64-*-*"] } {
-# OBSOLETE verbose "HPUX thread test ignored for non-hppa or PA64 targets."
-# OBSOLETE return 0
-# OBSOLETE }
-# OBSOLETE
-# OBSOLETE set testfile usrthbasic
-# OBSOLETE set srcfile ${srcdir}/${subdir}/${testfile}.c
-# OBSOLETE set binfile ${srcdir}/${subdir}/${testfile}
-# OBSOLETE
-# OBSOLETE # To build the executable we need to link against the thread library.
-# OBSOLETE #
-# OBSOLETE # /opt/ansic/bin/cc -Ae +DAportable -g -o usrthbasic -lcma usrthbasic.c
-# OBSOLETE #
-# OBSOLETE ## we have trouble building it on 11.0, so we use the prebuilt
-# OBSOLETE ## executable instead.
-# OBSOLETE ##
-# OBSOLETE ##if { [gdb_compile "${srcdir}/${subdir}/${testfile}.c" "${binfile}" executable {debug additional_flags=-Ae ldflags=-lcma}] != "" } {
-# OBSOLETE ## gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
-# OBSOLETE ##}
-# OBSOLETE
-# OBSOLETE # We don't really seem to need longer waits.
-# OBSOLETE #
-# OBSOLETE ##set oldtimeout $timeout
-# OBSOLETE ##set timeout [expr "$timeout + 0"]
-# OBSOLETE ##set oldverbose $verbose
-# OBSOLETE ##set verbose 40
-# OBSOLETE
-# OBSOLETE #=========================
-# OBSOLETE #
-# OBSOLETE # Test looking at threads.
-# OBSOLETE #
-# OBSOLETE gdb_exit
-# OBSOLETE gdb_start
-# OBSOLETE gdb_reinitialize_dir $srcdir/$subdir
-# OBSOLETE gdb_load ${binfile}
-# OBSOLETE
-# OBSOLETE gdb_test "b main" ".*Breakpoint 1.*" "b main"
-# OBSOLETE gdb_test "run" "Breakpoint 1, main.*:119.*" "run to main"
-# OBSOLETE gdb_test "b thread1" ".*Breakpoint 2.*" "b thread1"
-# OBSOLETE gdb_test "info threads" "\\* 1 system thread.*:119\[^(\]*" \
-# OBSOLETE "info threads at main"
-# OBSOLETE gdb_test "c" "Breakpoint 2, thread1.*" "continue to thread1"
-# OBSOLETE gdb_test "info threads" \
-# OBSOLETE "\\* 3 system thread.*thread1.*libcma.1.*libcma.1\[^(\]*" \
-# OBSOLETE "info threads at main"
-# OBSOLETE gdb_test "b 165" "Breakpoint 3.*165.*" "break at main counter"
-# OBSOLETE gdb_test "c" "Breakpoint 3, main.*" "continue to main counter"
-# OBSOLETE gdb_test "info threads" " 4 system thread.*\\* 1 system thread.*main.*" \
-# OBSOLETE "info threads at main counter"
-# OBSOLETE gdb_test "b 97" "Breakpoint 4.*97.*" "break at thread2 counter"
-# OBSOLETE gdb_test "b 81" "Breakpoint 5.*81.*" "break at thread1 counter"
-# OBSOLETE gdb_test "bt" "#0 main.* at \[^(\]*" "backtrace at main counter"
-# OBSOLETE
-# OBSOLETE # After switching to thread 4, the cma scheduler should schedule it next
-# OBSOLETE # and we should hit its breakpoint in thread2.
-# OBSOLETE gdb_test "thread 4" ".Switching to thread 4.*cma__dispatch.*" \
-# OBSOLETE "switch to thread 4"
-# OBSOLETE gdb_test "bt" "#0 .*thread2.*" "backtrace at thread 4"
-# OBSOLETE sleep 1
-# OBSOLETE gdb_test "c" ".*Breakpoint 4, thread2.*" "continue and get to thread 4"
-# OBSOLETE
-# OBSOLETE # After switching to thread 1, the cma scheduler should schedule it next
-# OBSOLETE # and we should hit its breakpoint (in main).
-# OBSOLETE gdb_test "thread 1" ".*Switching to thread 1.*cma__dispatch.*" \
-# OBSOLETE "switch to thread 1"
-# OBSOLETE sleep 1
-# OBSOLETE gdb_test "c" ".*Breakpoint 3, main.*usrthbasic.c:165.*" \
-# OBSOLETE "continue and get to thread 1"
-# OBSOLETE
-# OBSOLETE # Done!
-# OBSOLETE #
-# OBSOLETE gdb_exit
-# OBSOLETE
-# OBSOLETE ##set timeout $oldtimeout
-# OBSOLETE ##set verbose $oldverbose
-# OBSOLETE
-# OBSOLETE return 0
diff --git a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.c b/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.c
deleted file mode 100644
index c3bc18d..0000000
--- a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.c
+++ /dev/null
@@ -1,177 +0,0 @@
-/* OBSOLETE #include <stdio.h> */
-/* OBSOLETE */
-/* OBSOLETE /* #include "config.h" */ */
-/* OBSOLETE #define HAVE_PTHREAD_H */
-/* OBSOLETE #define __hpux__ */
-/* OBSOLETE #define __osf__ */
-/* OBSOLETE */
-/* OBSOLETE #ifndef HAVE_PTHREAD_H */
-/* OBSOLETE */
-/* OBSOLETE /* Don't even try to compile. In fact, cause a syntax error that we can */
-/* OBSOLETE look for as a compiler error message and know that we have no pthread */
-/* OBSOLETE support. In that case we can just suppress the test completely. */ */
-/* OBSOLETE */
-/* OBSOLETE #error "no posix threads support" */
-/* OBSOLETE */
-/* OBSOLETE #else */
-/* OBSOLETE */
-/* OBSOLETE /* OK. We have the right header. If we try to compile this and fail, then */
-/* OBSOLETE there is something wrong and the user should know about it so the testsuite */
-/* OBSOLETE should issue an ERROR result.. */ */
-/* OBSOLETE */
-/* OBSOLETE #ifdef __linux__ */
-/* OBSOLETE #define _MIT_POSIX_THREADS 1 /* Linux (or at least RedHat 4.0) needs this */ */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE #include <pthread.h> */
-/* OBSOLETE */
-/* OBSOLETE /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create */
-/* OBSOLETE is prototyped to be just a "pthread_attr_t", while under Solaris it */
-/* OBSOLETE is a "pthread_attr_t *". Arg! */ */
-/* OBSOLETE */
-/* OBSOLETE #if defined (__osf__) || defined (__hpux__) */
-/* OBSOLETE #define PTHREAD_CREATE_ARG2(arg) arg */
-/* OBSOLETE #define PTHREAD_CREATE_NULL_ARG2 null_attr */
-/* OBSOLETE static pthread_attr_t null_attr; */
-/* OBSOLETE #else */
-/* OBSOLETE #define PTHREAD_CREATE_ARG2(arg) &arg */
-/* OBSOLETE #define PTHREAD_CREATE_NULL_ARG2 NULL */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE static int verbose = 0; */
-/* OBSOLETE */
-/* OBSOLETE static void */
-/* OBSOLETE common_routine (arg) */
-/* OBSOLETE int arg; */
-/* OBSOLETE { */
-/* OBSOLETE static int from_thread1; */
-/* OBSOLETE static int from_thread2; */
-/* OBSOLETE static int from_main; */
-/* OBSOLETE static int hits; */
-/* OBSOLETE static int full_coverage; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf("common_routine (%d)\n", arg); */
-/* OBSOLETE hits++; */
-/* OBSOLETE switch (arg) */
-/* OBSOLETE { */
-/* OBSOLETE case 0: */
-/* OBSOLETE from_main++; */
-/* OBSOLETE break; */
-/* OBSOLETE case 1: */
-/* OBSOLETE from_thread1++; */
-/* OBSOLETE break; */
-/* OBSOLETE case 2: */
-/* OBSOLETE from_thread2++; */
-/* OBSOLETE break; */
-/* OBSOLETE } */
-/* OBSOLETE if (from_main && from_thread1 && from_thread2) */
-/* OBSOLETE full_coverage = 1; */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE static void * */
-/* OBSOLETE thread1 (void *arg) */
-/* OBSOLETE { */
-/* OBSOLETE int i; */
-/* OBSOLETE int z = 0; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf ("thread1 (%0x) ; pid = %d\n", arg, getpid ()); */
-/* OBSOLETE for (i=1; i <= 10000000; i++) */
-/* OBSOLETE { */
-/* OBSOLETE if (verbose) printf("thread1 %d\n", pthread_self ()); */
-/* OBSOLETE z += i; */
-/* OBSOLETE common_routine (1); */
-/* OBSOLETE sleep(1); */
-/* OBSOLETE } */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE static void * */
-/* OBSOLETE thread2 (void * arg) */
-/* OBSOLETE { */
-/* OBSOLETE int i; */
-/* OBSOLETE int k = 0; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf ("thread2 (%0x) ; pid = %d\n", arg, getpid ()); */
-/* OBSOLETE for (i=1; i <= 10000000; i++) */
-/* OBSOLETE { */
-/* OBSOLETE if (verbose) printf("thread2 %d\n", pthread_self ()); */
-/* OBSOLETE k += i; */
-/* OBSOLETE common_routine (2); */
-/* OBSOLETE sleep(1); */
-/* OBSOLETE } */
-/* OBSOLETE sleep(100); */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE int */
-/* OBSOLETE foo (a, b, c) */
-/* OBSOLETE int a, b, c; */
-/* OBSOLETE { */
-/* OBSOLETE int d, e, f; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf("a=%d\n", a); */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE main(argc, argv) */
-/* OBSOLETE int argc; */
-/* OBSOLETE char **argv; */
-/* OBSOLETE { */
-/* OBSOLETE pthread_t tid1, tid2; */
-/* OBSOLETE int j; */
-/* OBSOLETE int t = 0; */
-/* OBSOLETE void (*xxx) (); */
-/* OBSOLETE pthread_attr_t attr; */
-/* OBSOLETE */
-/* OBSOLETE if (verbose) printf ("pid = %d\n", getpid()); */
-/* OBSOLETE */
-/* OBSOLETE foo (1, 2, 3); */
-/* OBSOLETE */
-/* OBSOLETE #ifndef __osf__ */
-/* OBSOLETE if (pthread_attr_init (&attr)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_attr_init 1"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE #ifdef PTHREAD_SCOPE_SYSTEM */
-/* OBSOLETE if (pthread_attr_setscope (&attr, PTHREAD_SCOPE_SYSTEM)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_attr_setscope 1"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE #endif */
-/* OBSOLETE */
-/* OBSOLETE if (pthread_create (&tid1, pthread_attr_default, thread1, (void *) 0xfeedface)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_create 1"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE if (verbose) printf ("Made thread %d\n", tid1); */
-/* OBSOLETE sleep (1); */
-/* OBSOLETE */
-/* OBSOLETE if (pthread_create (&tid2, null_attr, thread2, (void *) 0xdeadbeef)) */
-/* OBSOLETE { */
-/* OBSOLETE perror ("pthread_create 2"); */
-/* OBSOLETE exit (1); */
-/* OBSOLETE } */
-/* OBSOLETE if (verbose) printf("Made thread %d\n", tid2); */
-/* OBSOLETE */
-/* OBSOLETE sleep (1); */
-/* OBSOLETE */
-/* OBSOLETE for (j = 1; j <= 10000000; j++) */
-/* OBSOLETE { */
-/* OBSOLETE if (verbose) printf("top %d\n", pthread_self ()); */
-/* OBSOLETE common_routine (0); */
-/* OBSOLETE sleep(1); */
-/* OBSOLETE t += j; */
-/* OBSOLETE if (j > 3) */
-/* OBSOLETE { */
-/* OBSOLETE int* int_p; */
-/* OBSOLETE int_p = 0; */
-/* OBSOLETE *int_p = 1; */
-/* OBSOLETE } */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE exit(0); */
-/* OBSOLETE } */
-/* OBSOLETE */
-/* OBSOLETE #endif /* ifndef HAVE_PTHREAD_H */ */
diff --git a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.exp b/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.exp
deleted file mode 100644
index b373c3a..0000000
--- a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthcore.exp
+++ /dev/null
@@ -1,92 +0,0 @@
-# OBSOLETE # usrthcore.exp -- Expect script to test gdb with user threads
-# OBSOLETE # Copyright (C) 1992 Free Software Foundation, Inc.
-# OBSOLETE
-# OBSOLETE # This program is free software; you can redistribute it and/or modify
-# OBSOLETE # it under the terms of the GNU General Public License as published by
-# OBSOLETE # the Free Software Foundation; either version 2 of the License, or
-# OBSOLETE # (at your option) any later version.
-# OBSOLETE #
-# OBSOLETE # This program is distributed in the hope that it will be useful,
-# OBSOLETE # but WITHOUT ANY WARRANTY; without even the implied warranty of
-# OBSOLETE # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# OBSOLETE # GNU General Public License for more details.
-# OBSOLETE #
-# OBSOLETE # You should have received a copy of the GNU General Public License
-# OBSOLETE # along with this program; if not, write to the Free Software
-# OBSOLETE # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-# OBSOLETE
-# OBSOLETE # Please email any bugs, comments, and/or additions to this file to:
-# OBSOLETE # bug-gdb@prep.ai.mit.edu
-# OBSOLETE
-# OBSOLETE # use this to debug:
-# OBSOLETE #
-# OBSOLETE #log_user 1
-# OBSOLETE
-verbose "HP's thread tests are broken beyond repair right now."
-return 0
-# OBSOLETE
-# OBSOLETE if $tracelevel {
-# OBSOLETE strace $tracelevel
-# OBSOLETE }
-# OBSOLETE
-# OBSOLETE if { [skip_hp_tests] } { continue }
-# OBSOLETE
-# OBSOLETE if { ![istarget "hppa*-*-hpux*"] || [istarget "hppa64-*-*"] } {
-# OBSOLETE verbose "HPUX thread test ignored for non-hppa or PA64 targets."
-# OBSOLETE return 0
-# OBSOLETE }
-# OBSOLETE
-# OBSOLETE set testfile usrthcore
-# OBSOLETE set srcfile ${srcdir}/${subdir}/${testfile}.c
-# OBSOLETE set binfile ${srcdir}/${subdir}/${testfile}
-# OBSOLETE
-# OBSOLETE # To build the executable we need to link against the thread library.
-# OBSOLETE #
-# OBSOLETE # /opt/ansic/bin/cc -Ae +DAportable -g -o usrthcore -lcma usrthcore.c
-# OBSOLETE #
-# OBSOLETE ## we have trouble building it on 11.0, so we use the prebuilt
-# OBSOLETE ## executable instead.
-# OBSOLETE ##
-# OBSOLETE ##if { [gdb_compile "${srcdir}/${subdir}/${testfile}.c -lcma" "${binfile}" executable {debug additional_flags=-Ae ldflags=-lcma}] != "" } {
-# OBSOLETE ## gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
-# OBSOLETE ##}
-# OBSOLETE
-# OBSOLETE #=========================
-# OBSOLETE #
-# OBSOLETE # Test looking at threads in a core file
-# OBSOLETE #
-# OBSOLETE
-# OBSOLETE remote_exec build "rm -f core"
-# OBSOLETE remote_exec build "${binfile}"
-# OBSOLETE
-# OBSOLETE gdb_exit
-# OBSOLETE gdb_start
-# OBSOLETE gdb_reinitialize_dir $srcdir/$subdir
-# OBSOLETE gdb_load ${binfile}
-# OBSOLETE gdb_test "core-file core" \
-# OBSOLETE ".*Core was generated by `usrthcore'.*in main.*usrthcore.c:170.*" \
-# OBSOLETE "load corefile"
-# OBSOLETE
-# OBSOLETE gdb_test "info thread" \
-# OBSOLETE " 4 .*cma__dispatch.*\\* 1 .*in main.*usrthcore.c:170.*" \
-# OBSOLETE "info thread on core file"
-# OBSOLETE gdb_test "bt" "#0.*in main.*usrthcore.c:170" "backtrace on active thread"
-# OBSOLETE gdb_test "thread 4" ".*Switching to thread 4.*cma__dispatch.*" \
-# OBSOLETE "switch to thread 4 (thread2 procedure)"
-# OBSOLETE gdb_test "bt" "#0.*cma__dispatch.*thread2.*usrthcore.c:99.*" \
-# OBSOLETE "Backtrace on inactive thread (thread2 procedure)"
-# OBSOLETE gdb_test "b thread1" "Breakpoint 1.*usrthcore.c, line 75.*" \
-# OBSOLETE "break on thread1"
-# OBSOLETE gdb_test "run" "Starting program.*Breakpoint 1, thread1.*usrthcore.c:75.*" \
-# OBSOLETE "run program, get to thread1 procedure"
-# OBSOLETE gdb_test "info threads" "\\* \[23\] .*thread1.* 1 .*cma__dispatch.*" \
-# OBSOLETE "info threads after running core"
-# OBSOLETE
-# OBSOLETE
-# OBSOLETE # Done!
-# OBSOLETE #
-# OBSOLETE gdb_exit
-# OBSOLETE
-# OBSOLETE remote_exec build "rm -f core"
-# OBSOLETE
-# OBSOLETE return 0
diff --git a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.c b/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.c
deleted file mode 100644
index f5614de..0000000
--- a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* OBSOLETE #include <stdio.h> */
-/* OBSOLETE #include <pthread.h> */
-/* OBSOLETE #include <sys/types.h> */
-/* OBSOLETE */
-/* OBSOLETE int main(void){ */
-/* OBSOLETE pid_t pid; */
-/* OBSOLETE */
-/* OBSOLETE switch (pid = fork()){ */
-/* OBSOLETE case 0: */
-/* OBSOLETE printf("child\n"); */
-/* OBSOLETE break; */
-/* OBSOLETE default: */
-/* OBSOLETE printf("parent\n"); */
-/* OBSOLETE break; */
-/* OBSOLETE } */
-/* OBSOLETE return 0; */
-/* OBSOLETE } */
diff --git a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.exp b/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.exp
deleted file mode 100644
index 994a6e2..0000000
--- a/gdb/testsuite/gdb.hp/gdb.threads-hp/usrthfork.exp
+++ /dev/null
@@ -1,75 +0,0 @@
-# OBSOLETE # user_th_basic.exp -- Expect script to test gdb with user threads
-# OBSOLETE # Copyright (C) 1992 Free Software Foundation, Inc.
-# OBSOLETE
-# OBSOLETE # This program is free software; you can redistribute it and/or modify
-# OBSOLETE # it under the terms of the GNU General Public License as published by
-# OBSOLETE # the Free Software Foundation; either version 2 of the License, or
-# OBSOLETE # (at your option) any later version.
-# OBSOLETE #
-# OBSOLETE # This program is distributed in the hope that it will be useful,
-# OBSOLETE # but WITHOUT ANY WARRANTY; without even the implied warranty of
-# OBSOLETE # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# OBSOLETE # GNU General Public License for more details.
-# OBSOLETE #
-# OBSOLETE # You should have received a copy of the GNU General Public License
-# OBSOLETE # along with this program; if not, write to the Free Software
-# OBSOLETE # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-# OBSOLETE
-# OBSOLETE # Please email any bugs, comments, and/or additions to this file to:
-# OBSOLETE # bug-gdb@prep.ai.mit.edu
-# OBSOLETE
-verbose "HP's thread tests are broken beyond repair right now."
-return 0
-# OBSOLETE
-# OBSOLETE if $tracelevel {
-# OBSOLETE strace $tracelevel
-# OBSOLETE }
-# OBSOLETE
-# OBSOLETE if { ![istarget "hppa*-*-hpux*"] || [istarget "hppa64-*-*"] } {
-# OBSOLETE verbose "HPUX thread test ignored for non-hppa or PA64 targets."
-# OBSOLETE return 0
-# OBSOLETE }
-# OBSOLETE
-# OBSOLETE set testfile usrthfork
-# OBSOLETE set srcfile ${srcdir}/${subdir}/${testfile}.c
-# OBSOLETE set binfile ${srcdir}/${subdir}/${testfile}
-# OBSOLETE
-# OBSOLETE # To build the executable we need to link against the thread library.
-# OBSOLETE #
-# OBSOLETE # /opt/ansic/bin/cc -Ae -g -o usrthfork -lcma usrthfork.c
-# OBSOLETE #
-# OBSOLETE ## we have trouble building it on 11.0, so we use the prebuilt
-# OBSOLETE ## executable instead.
-# OBSOLETE ##
-# OBSOLETE ##if { [gdb_compile "${srcdir}/${subdir}/${testfile}.c" "${binfile}" executable {debug additional_flags=-Ae ldflags=-lcma}] != "" } {
-# OBSOLETE ## gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
-# OBSOLETE ##}
-# OBSOLETE
-# OBSOLETE #=========================
-# OBSOLETE #
-# OBSOLETE # Test looking at threads.
-# OBSOLETE #
-# OBSOLETE gdb_exit
-# OBSOLETE gdb_start
-# OBSOLETE gdb_reinitialize_dir $srcdir/$subdir
-# OBSOLETE gdb_load ${binfile}
-# OBSOLETE
-# OBSOLETE gdb_test "set follow-fork-mode parent" ".*" "set follow-fork-mode parent"
-# OBSOLETE gdb_test "b main" "Breakpoint 1.*" "b main"
-# OBSOLETE gdb_test "run" "Breakpoint 1, main.*:8.*" "run to main"
-# OBSOLETE ##gdb_test "next" \
-# OBSOLETE ## ".*New process.*Detaching after fork from process.*13.*parent.*" \
-# OBSOLETE ## "next on CMA fork"
-# OBSOLETE send_gdb "next\n"
-# OBSOLETE gdb_expect {
-# OBSOLETE -re ".*Detaching after fork from.*$gdb_prompt $" {
-# OBSOLETE pass "next on CMA fork"
-# OBSOLETE }
-# OBSOLETE -re ".*$gdb_prompt $" { fail "next on CMA fork" }
-# OBSOLETE timeout { fail "(timeout) next on CMA fork" }
-# OBSOLETE }
-# OBSOLETE exec sleep 1
-# OBSOLETE
-# OBSOLETE gdb_exit
-# OBSOLETE
-# OBSOLETE return 0