From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4938 invoked by alias); 21 Oct 2003 18:49:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4928 invoked from network); 21 Oct 2003 18:49:30 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 21 Oct 2003 18:49:30 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.10/8.12.10) with ESMTP id h9LInTVg015575; Tue, 21 Oct 2003 13:49:29 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.10/8.12.9) with ESMTP id h9LInTfa027468; Tue, 21 Oct 2003 13:49:29 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.10/8.12.9/Submit) id h9LInS6l027467; Tue, 21 Oct 2003 14:49:28 -0400 Date: Tue, 21 Oct 2003 18:49:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200310211849.h9LInS6l027467@duracef.shout.net> To: cagney@redhat.com, ezannoni@redhat.com, msnyder@redhat.com Subject: [rfa/copyright] add copyrights to gdb.mi/pthreads.c, gdb.threads/pthreads.c Cc: gdb-patches@sources.redhat.com X-SW-Source: 2003-10/txt/msg00643.txt.bz2 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 * 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 #include 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 #include