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]

[rfa/testsuite/copyright] callfuncs.c: add copyright notice


This patch adds a copyright notice to gdb.base/callfuncs.c.

I sent a message to gdb@ on 2004-01-06 asking for copyright years on
callfuncs.c.  I got one message back from Jim Blandy, who said that the
file was created in 1993.  This matches the information that I found.

I obtained the list of years from two sources: testsuite/ChangeLog,
which goes back to its creation in 1993, and the modification times on
callfuncs.c in gdb releases going back to gdb 4.13 in 1994.

Testing: tested on native i686-pc-linux-gnu, gcc 2.95.3 3.3.2 HEAD,
dwarf-2 and stabs+ (to make sure that there are no line number
dependencies in callfuncs.exp).

I need to fix callfuncs.c so that it works on hp-ux, and adding a
copyright notice is the first step.

Okay to commit?

Michael C

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

	* gdb.base/callfuncs.c: Add copyright notice.

Index: callfuncs.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/callfuncs.c,v
retrieving revision 1.4
diff -c -3 -p -r1.4 callfuncs.c
*** callfuncs.c	26 Nov 2001 21:29:31 -0000	1.4
--- callfuncs.c	8 Jan 2004 20:09:11 -0000
***************
*** 1,3 ****
--- 1,25 ----
+ /* This testcase is part of GDB, the GNU debugger.
+ 
+    Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001
+    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  */
+ 
  /* Support program for testing gdb's ability to call functions
     in the inferior, pass appropriate arguments to those functions,
     and get the returned result. */


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