[commit/testsuite] Switch a couple of c files to GPL v3

Joel Brobecker brobecker@adacore.com
Sat Aug 18 02:17:00 GMT 2007


These two files are a little trickier, because the line numbers are
importante (due to #line directives inside step-line.c that reference
locations in step-line.c and step-line.inp). Instead of adjusting
all the line numbers, I decided to simply add a couple of new lines
at the end of the copyright header to keep everything in sync.

2007-08-17  Joel Brobecker  <brobecker@adacore.com>

        * gdb.base/step-line.c: Switch license to GPL version 3, and
        update copyright year.
        * gdb.base/step-line.inp: Likewise.

Tested on x86-linux. Checked in.

-- 
Joel
-------------- next part --------------
Index: gdb.base/step-line.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/step-line.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- gdb.base/step-line.c	9 Jan 2007 21:37:30 -0000	1.3
+++ gdb.base/step-line.c	18 Aug 2007 02:08:26 -0000	1.4
@@ -1,12 +1,12 @@
 /* Test step/next in presence of #line directives.
-   Copyright 2001
+   Copyright 2001, 2007
    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
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -15,9 +15,9 @@
    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.  */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+
 
 void dummy (int, int);
 int f1 (int);
Index: gdb.base/step-line.inp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/step-line.inp,v
retrieving revision 1.3
diff -u -p -r1.3 step-line.inp
--- gdb.base/step-line.inp	9 Jan 2007 21:37:30 -0000	1.3
+++ gdb.base/step-line.inp	18 Aug 2007 02:12:16 -0000
@@ -1,10 +1,10 @@
 # Test step/next in presence of #line directives
-# Copyright 2001
+# Copyright 2001, 2007
 # 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
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -13,12 +13,12 @@
 # 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.  */
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # We pretend that this file has been transformed by some other tool
 # into step-line.c.
 
+
 FUNCTION f1 (i : INTEGER);
   BEGIN
     i = f2 (i);


More information about the Gdb-patches mailing list