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/mi/copyright] basics.c, var-cmd.c: add copyright notice


Ha.  It turns out that all of the files which use pthreads.c are already
line-number-independent.  So I'm finished adding gdb_get_line_number.

Here is the next phase for making gdb.mi work with gcc HEAD:
adding copyright notices to several files.

Fernando Nasser created basics.c in 1999.
It was last edited in 2000.

Elena Zannoni created var-cmd.c in 1999.
Andrew Cagney committed it to CVS in 2000.
It hasn't been edited since then.
I assume that the file wasn't edited in 2000, either.

Data sources: cvs log, testsuite/gdb.mi/ChangeLog-1999-2003,
testsuite/ChangeLog, historical gdb releases, and the
gdb-patches mailing list for 1999q4 and 2000q1.

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+.

After this, the next phase will be the addition of several
"#include" lines to several *.c files so that they compile
with gcc HEAD with no warnings.

Okay to commit?

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

	* gdb.mi/basics.c: Add copyright notice.
	* gdb.mi/var-cmd.c: Add copyright notice.

Index: basics.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/basics.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 basics.c
*** basics.c	14 Mar 2000 05:02:03 -0000	1.3
--- basics.c	17 Aug 2004 10:53:49 -0000
***************
*** 1,3 ****
--- 1,23 ----
+ /* Copyright 1999, 2000
+    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.  */
+ 
  /*
   *	This simple program that passes different types of arguments
   *      on function calls.  Useful to test printing frames, stepping, etc.
Index: var-cmd.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/var-cmd.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 var-cmd.c
*** var-cmd.c	23 Feb 2000 00:25:43 -0000	1.1
--- var-cmd.c	17 Aug 2004 10:53:49 -0000
***************
*** 1,3 ****
--- 1,22 ----
+ /* Copyright 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.  */
+ 
  struct _simple_struct {
    int integer;
    unsigned int unsigned_integer;


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