From: Michael Elizabeth Chastain <mec@shout.net>
To: cagney@redhat.com, ezannoni@redhat.com, msnyder@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: [rfa/copyright] add copyrights to gdb.mi/pthreads.c, gdb.threads/pthreads.c
Date: Tue, 21 Oct 2003 18:49:00 -0000 [thread overview]
Message-ID: <200310211849.h9LInS6l027467@duracef.shout.net> (raw)
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
(I want to do this because I have additional changes for pthreads.c.
I want to change the "sleep" calls to check the return value so
that they work properly with gdb. There is a known issue with
calling "sleep" in a multi-threaded program under gdb -- the "sleep"
often returns early, which is legal, but is different behavior
than non-gdb. But even if my additional changes are not accepted,
these files still need copyright notices. That's why I am submitting
this patch first.)
History of these files: gdb.threads/pthreads.c was the original file.
It was created by shebs, and edited by chastain, cagney, ezannoni,
and carlton. gdb.mi/pthreads.c was cloned from gdb.threads/pthreads.c
by kseitz, and was edited by kseitz, carlton, and ezannoni.
All of these people have gdb assignments on file and have made
many other contributions to gdb.
Testing: tested on native i686-pc-linux-gnu, red hat 8.0,
gcc v2 and v3, dwarf-2 and stabs+, just to make sure that
I didn't break some line number dependency in some *.exp file.
Michael S is the maintainer for gdb.threads.
Elena and Andrew are maintainers for gdb.mi.
Okay to commit?
Michael C
===
2003-10-21 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c: Add copyright notice.
* gdb.threads/pthreads.c: Add copyright notice.
Index: gdb.mi/pthreads.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/pthreads.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 pthreads.c
*** gdb.mi/pthreads.c 7 Aug 2003 17:48:32 -0000 1.3
--- gdb.mi/pthreads.c 21 Oct 2003 16:58:31 -0000
***************
*** 1,3 ****
--- 1,24 ----
+ /* Copyright 2002, 2003 Free Software Foundation, Inc.
+
+ This file is part of the gdb testsuite.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ This file was copied from gdb.threads/pthreads.c
+ by Keith Seitz (keiths@redhat.com). */
+
#include <stdio.h>
#include <pthread.h>
Index: gdb.threads/pthreads.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/pthreads.c,v
retrieving revision 1.4
diff -c -3 -p -r1.4 pthreads.c
*** gdb.threads/pthreads.c 7 Aug 2003 17:48:32 -0000 1.4
--- gdb.threads/pthreads.c 21 Oct 2003 16:58:31 -0000
***************
*** 1,3 ****
--- 1,22 ----
+ /* Copyright 1999, 2002, 2003 Free Software Foundation, Inc.
+
+ This file is part of the gdb testsuite.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
#include <stdio.h>
#include <pthread.h>
next reply other threads:[~2003-10-21 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 18:49 Michael Elizabeth Chastain [this message]
2003-10-23 2:44 ` Andrew Cagney
2003-10-23 4:08 Michael Elizabeth Chastain
2003-10-23 4:21 ` Andrew Cagney
2003-10-23 4:27 Michael Elizabeth Chastain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310211849.h9LInS6l027467@duracef.shout.net \
--to=mec@shout.net \
--cc=cagney@redhat.com \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox