This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/testsuite/copyright] coremaker.c, coremaker2.c: add copyright notices


This patch adds copyright notices to coremaker.c and coremaker2.c.

These files were present in the oldest gdb test suite I could find,
dejagnu 0.9 from 1992.  (The gdb test suite used to be packaged with
dejagnu, not gdb!)  So 1992 is the earliest date that I can claim
with confidence; there is a possibility that the files are even older.

In 1993, the gdb test suite moved from dejagnu to gdb.
In 1994, gdb.t09/gdbme.c was renamed to gdb.base/coremaker.c.
In 1999, gdb.base/coremaker2.c was derived from gdb.base/coremaker.c.

I obtained the list of modification dates from:

  my set of dejagnu releases (back to 1992)
  testsuite/ChangeLog (back to 1993)
  my set of gdb releases (back to 1994)
  cvs log (back to 1999)

I tested on native i686-pc-linux-gnu with gcc 2.95.3, gcc 3.3.4,
and gcc 3.4.1, with dwarf-2 and stabs+, to make sure there are no
line number gotchas.

I am committing this now.

Michael C

===

2004-08-04  Michael Chastain  <mec.gnu@mindspring.com>

	* gdb.base/coremaker.c: Add copyright notice.
	* gdb.base/coremaker2.c: Add copyright notice.

Index: gdb.base/coremaker.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/coremaker.c,v
retrieving revision 1.1.1.2
diff -c -3 -p -r1.1.1.2 coremaker.c
*** gdb.base/coremaker.c	28 Jun 1999 16:03:02 -0000	1.1.1.2
--- gdb.base/coremaker.c	4 Aug 2004 23:52:03 -0000
***************
*** 1,3 ****
--- 1,23 ----
+ /* Copyright 1992, 1993, 1994, 1995, 1996, 1999
+    Free Software Foundation, Inc.
+ 
+    This file is part of GDB.
+ 
+    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.  */
+ 
  /* Simple little program that just generates a core dump from inside some
     nested function calls. */
  
Index: gdb.base/coremaker2.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/coremaker2.c,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 coremaker2.c
*** gdb.base/coremaker2.c	7 Dec 1999 03:56:15 -0000	1.1.1.1
--- gdb.base/coremaker2.c	4 Aug 2004 23:52:03 -0000
***************
*** 1,3 ****
--- 1,23 ----
+ /* Copyright 1992, 1993, 1994, 1995, 1996, 1999
+    Free Software Foundation, Inc.
+ 
+    This file is part of GDB.
+ 
+    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.  */
+ 
  /* Simple little program that just generates a core dump from inside some
     nested function calls.  Keep this as self contained as possible, I.E.
     use no environment resources other than possibly abort(). */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]