Re: [rfa/copyright] add copyrights to gdb.mi/pthreads.c, gdb.threads/pthreads.c

Andrew Cagney
2003-10-23T02:44:51Z

> This patch adds copyright notices to testsuite/gdb.threads/pthreads.c
> and testsuite/gdb.mi/pthreads.c, in accordance with FSF policy:
>
> http://www.gnu.org/prep/maintain_8.html#SEC8

Tell me about it. I'm up to lawyer number 12 ...

I've attached the "prehistory" of pthreads.c. Did you need more?

Mention that it was written by fred fish, and contributed by red hat.
I'm not a lawyer so I'm not sure which of the below dates should be
listed (so list all of them :-).

Also use the src/gdb/*.c boilerplate copyright style. And state that it
is part of GDB (rather than the GDB testsuite).

Otherwize "obvious".

Andrew

revision 1.4
date: 1996/11/23 21:33:15; author: fnf; state: Exp; lines: +4 -0
branches: 1.4.562; 1.4.674;
* gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
use new i*86-pc-linux*-gnu quads.
* gdb.base/corefile.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/sigall.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.

* gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
"i*86-*-linux" for "signal SIGUSR1". Now works, at least with
RedHat 4.0.

* gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
linux. This allows the test case to at least compile on latest
linux, but still not run due to missing the threads runtime
library.
----------------------------
revision 1.3
date: 1996/09/03 01:26:44; author: fnf; state: Exp; lines: +4 -4
* gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
include all osf versions.
* gdb.threads/pthreads.exp: Expand "run to main" xfail to include
all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
when target is linux. When failing to build pthreads test
executable, give more meaningful message.
* gdb.threads/pthreads.c: Hpux also uses old definition of second
arg for pthread_create.
----------------------------
revision 1.2
date: 1996/08/19 17:59:46; author: fnf; state: Exp; lines: +18 -3
* gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
* gdb.threads/pthreads.exp: Try linking with both -lpthread
(Solaris)
and -lpthreads (everybody else).
(test_startup): Fail gracefully if threads are not supported.
* gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
"p/c array_index("abcdef",2)" when not gcc compiled.
* gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
"print func2::coremaker_local" when not gcc compiled.
* gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
"ptype on opaque struct tagname (statically)",
"ptype on opaque struct tagname (dynamically) 1", and
"ptype on opaque struct tagname (dynamically) 2"
for not compiled with gcc.
* gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
backtrace when compiled with gcc.
* lib/gdb.exp (runto_main): Return result of "runto main" rather
than always return success.
----------------------------
revision 1.1
date: 1996/08/07 18:14:55; author: fnf; state: Exp;
* configure.in (configdirs): Add gdb.threads.
* configure: Regenerated with autoconf.
* gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.