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/cp] ctti*.cc: add copyright notices


This patch adds copyright notices to ctti*.cc.  Of course, I am doing
this because I want to make some other change to cttiadd.cc.

The dates are from:

  1998	copyright date in ctti.exp.  I infer that ctti*.cc were written
        at the same time as ctti.exp.

  1999  timestamps on the files in gdb 4.18 testsuite (1999-01-11)
        plus a ChangeLog entry on 1999-01-10 that the files were merged
	from HP on that date.

There are no more ChangeLog entries for these files, and their contents
are the same from gdb 4.18 testsuite to gdb HEAD 2004-01-07.  That's two
pieces of evidence that no changes were made in 2000, 2001, 2002, 2003.

Testing: tested on native i686-pc-linux-gnu and native
hppa2.0w-hp-hpux11.11.

I am committing this now.

Michael C

2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>

	* gdb.cp/cttiadd.cc: Add copyright notice.
	* gdb.cp/cttiadd1.cc: Likewise.
	* gdb.cp/cttiadd2.cc: Likewise.
	* gdb.cp/cttiadd3.cc: Likewise.

Index: cttiadd.cc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cttiadd.cc,v
retrieving revision 1.1
diff -c -3 -p -r1.1 cttiadd.cc
*** cttiadd.cc	23 Aug 2003 03:55:59 -0000	1.1
--- cttiadd.cc	8 Jan 2004 04:40:19 -0000
***************
*** 1,3 ****
--- 1,24 ----
+ /* This testcase is part of GDB, the GNU debugger.
+ 
+    Copyright 1998, 1999 Free Software Foundation, Inc.
+ 
+    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.
+ 
+    Please email any bugs, comments, and/or additions to this file to:
+    bug-gdb@prep.ai.mit.edu  */
+ 
  template<class T> T add(T v1, T v2)
  {
     T v3;
Index: cttiadd1.cc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cttiadd1.cc,v
retrieving revision 1.1
diff -c -3 -p -r1.1 cttiadd1.cc
*** cttiadd1.cc	23 Aug 2003 03:55:59 -0000	1.1
--- cttiadd1.cc	8 Jan 2004 04:40:20 -0000
***************
*** 1,3 ****
--- 1,24 ----
+ /* This testcase is part of GDB, the GNU debugger.
+ 
+    Copyright 1998, 1999 Free Software Foundation, Inc.
+ 
+    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.
+ 
+    Please email any bugs, comments, and/or additions to this file to:
+    bug-gdb@prep.ai.mit.edu  */
+ 
  template<class T> T add(T v1, T v2);
  
  void add1()
Index: cttiadd2.cc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cttiadd2.cc,v
retrieving revision 1.1
diff -c -3 -p -r1.1 cttiadd2.cc
*** cttiadd2.cc	23 Aug 2003 03:55:59 -0000	1.1
--- cttiadd2.cc	8 Jan 2004 04:40:20 -0000
***************
*** 1,3 ****
--- 1,24 ----
+ /* This testcase is part of GDB, the GNU debugger.
+ 
+    Copyright 1998, 1999 Free Software Foundation, Inc.
+ 
+    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.
+ 
+    Please email any bugs, comments, and/or additions to this file to:
+    bug-gdb@prep.ai.mit.edu  */
+ 
  template<class T> T add2(T v1, T v2)
  {
     T v3;
Index: cttiadd3.cc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/cttiadd3.cc,v
retrieving revision 1.1
diff -c -3 -p -r1.1 cttiadd3.cc
*** cttiadd3.cc	23 Aug 2003 03:55:59 -0000	1.1
--- cttiadd3.cc	8 Jan 2004 04:40:20 -0000
***************
*** 1,3 ****
--- 1,24 ----
+ /* This testcase is part of GDB, the GNU debugger.
+ 
+    Copyright 1998, 1999 Free Software Foundation, Inc.
+ 
+    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.
+ 
+    Please email any bugs, comments, and/or additions to this file to:
+    bug-gdb@prep.ai.mit.edu  */
+ 
  template<class T> T add3(T v1, T v2)
  {
     T v3;


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