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]

Re: [PATCH RFC #2] Update/correct copyright notices


I found no syntax errors.

Structurally, testsuite/gdb.chill has its own ChangeLog.  This affects
the entries you propose for testsuite/ChangeLog (they need to go into
testsuite/gdb.chill/ChangeLog).

This time, I checked out every instance of a deleted year.

I found several ChangeLog-* files with wildcards in them (most from 1997).
I expanded the wildcards to the actual files that were affected.  I checked
each actual file with "cvs log" and with "cvs diff" on the claimed dates.
I committed these ChangeLog-* fixes under the obvious fix rule.

Michael

===

diff -upr gdb.orig/COPYING gdb/COPYING
--- gdb.orig/COPYING    Thu Apr 15 18:33:57 1999
+++ gdb/COPYING Thu Mar  1 00:12:03 2001
@@ -1,7 +1,7 @@
                    GNU GENERAL PUBLIC LICENSE
                       Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1989, 1991, 1997 Free Software Foundation, Inc.
                        59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.

(1) In 1997, it was not modified -- that is the date when someone imported
    a version from the FSF (see ChangeLog-1997).  So the 1997 should not
    be added.

(2) There are minor textual differences between our version and the
    reference version at ftp://ftp.gnu.org/gnu/Licenses/COPYING-2.0
    (one whitespace difference and two Y2K differences).  The reference
    version was last updated in 1999, but we haven't picked it up.

I think we need to take particular care with this file.  I would like to
copy it verbatim from ftp://ftp.gnu.org/gnu/Licenses/COPYING-2.0 .

===

diff -upr gdb.orig/config/m32r/tm-m32r.h gdb/config/m32r/tm-m32r.h
--- gdb.orig/config/m32r/tm-m32r.h      Sat May 27 19:11:38 2000
+++ gdb/config/m32r/tm-m32r.h   Thu Mar  1 00:12:03 2001
@@ -1,5 +1,5 @@
 /* Parameters for execution on a Mitsubishi m32r processor.
-   Copyright 1996, 1997 Free Software Foundation, Inc. 
+   Copyright 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
1997 was dropped.  This is a defect in ChangeLog-1997:

  Tue Feb 11 15:36:31 1997  Doug Evans  <dje@canuck.cygnus.com>

        * m32r-rom.c: #include <sys/types.h>.
        #ifdef out new load support if wingdb.
        * m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb.

The author meant to write "config/m32r/tm-m32r.h".  I checked the CVS
logs at Red Hat to confirm this.  I have checked in a fix under the
obvious fix rule.

===

diff -upr gdb.orig/config/m68k/tm-delta68.h gdb/config/m68k/tm-delta68.h
--- gdb.orig/config/m68k/tm-delta68.h   Sat May 27 19:11:38 2000
+++ gdb/config/m68k/tm-delta68.h        Thu Mar  1 00:12:03 2001
@@ -1,5 +1,5 @@
 /* Target definitions for delta68.
-   Copyright 1993, 1994, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright 1993, 1994, 1999, 2000 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
1998 was dropped.  This is a defect in ChangeLog-1998:

  Mon Feb 10 12:37:47 1998  Philippe De Muyter  <phdm@macqel.be>

        * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
        `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
        `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
        (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
        is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
        (FRAME_NUM_ARGS): New macro.
        * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
        * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
        patch.

  Sun Feb  6 02:44:28 1998  Philippe De Muyter  <phdm@macqel.be>

        * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
        (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
        (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
        because floating-point values return via %fp0.
        (CLEAR_INSN_CACHE): New macro.
        * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
        to use DOUBLEST.
        (REGISTER_CONVERT_TO_RAW): Ditto.
        * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
        call it after having written in child process's memory.
        * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
        (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.

Another obvious fix.

===

diff -upr gdb.orig/doc/gdbgui.texinfo gdb/doc/gdbgui.texinfo
--- gdb.orig/doc/gdbgui.texinfo Sun Feb  6 17:19:39 2000
+++ gdb/doc/gdbgui.texinfo      Thu Mar  1 00:12:03 2001
@@ -1,5 +1,5 @@
 \input texinfo      @c -*-texinfo-*-
-@c Copyright 1988 1989 1990 1991 1992 1993 1994 Free Software Foundation, Inc.
+@c Copyright 1995 Free Software Foundation, Inc.
 @c
 @c %**start of header 
 @c makeinfo ignores cmds prev to setfilename, so its arg cannot make use

Yikes!  All the original years disappeared!

This file was created on 1995-01-07.  I checked the Red Hat archive:
the earliest revision of this file at Red Hat has the exact copyright
line shown ("1988 1989 1990 1991 1992 1993 1994").  There's no evidence
that this file was carved out of another file, but I recommend leaving
the original copyright years in, as the original author wrote them in.

===

diff -upr gdb.orig/expression.h gdb/expression.h
--- gdb.orig/expression.h       Sat May 27 19:11:32 2000
+++ gdb/expression.h    Thu Mar  1 00:12:03 2001
@@ -1,5 +1,6 @@
 /* Definitions for expressions stored in reversed prefix form, for GDB.
-   Copyright 1986, 1989, 1992, 1994, 2000 Free Software Foundation, Inc.
+   Copyright 1986, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
+   2000 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
More Red Hat archive diving.  Revision 1.1 of this file was created on
1991-03-28.  It says:

  Copyright (C) 1986, 1989 Free Software Foundation, Inc.

So keep the 1989.

===

diff -upr gdb.orig/testsuite/config/netware.exp gdb/testsuite/config/netware.exp--- gdb.orig/testsuite/config/netware.exp       Thu Apr 15 18:34:29 1999
+++ gdb/testsuite/config/netware.exp    Thu Mar  1 00:12:04 2001
@@ -1,4 +1,5 @@
-#   Copyright (C) 1988, 1990, 1991, 1992, 1994, 1997 Free Software Foundation, Inc.
+#   Copyright 1988, 1990, 1991, 1992, 1994, 1996
+#   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

This file was edited in 1997, but the entry in testsuite/ChangeLog uses
a wild card.  I used cvs log and cvs diff on the Red Hat archive to
identify the actual files edited and fixed testsuite/ChangeLog.

===

diff -upr gdb.orig/testsuite/gdb.base/gdbvars.exp gdb/testsuite/gdb.base/gdbvars.exp
--- gdb.orig/testsuite/gdb.base/gdbvars.exp     Mon Aug  2 16:46:49 1999
+++ gdb/testsuite/gdb.base/gdbvars.exp  Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1997 Free Software Foundation, Inc.
+# Copyright 1992, 1995, 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

This file was edited in 1997, but the entry in testsuite/ChangeLog uses
a wild card.  I used cvs log and cvs diff on the Red Hat archive to
identify the actual files edited and fixed testsuite/ChangeLog.

===

diff -upr gdb.orig/testsuite/gdb.base/langs.exp gdb/testsuite/gdb.base/langs.exp--- gdb.orig/testsuite/gdb.base/langs.exp       Mon Jun 28 09:03:20 1999
+++ gdb/testsuite/gdb.base/langs.exp    Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-#   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+#   Copyright 1997, 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

This file was edited in 1998 on a branch.  The branch was merged into
the mainline in January 1999.  Thus, 1998 should be kept.

===

diff -upr gdb.orig/testsuite/gdb.base/return.exp gdb/testsuite/gdb.base/return.exp
--- gdb.orig/testsuite/gdb.base/return.exp      Thu Apr 15 18:34:31 1999
+++ gdb/testsuite/gdb.base/return.exp   Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1997 Free Software Foundation, Inc.
+# Copyright 1992, 1994, 1995, 1996 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

This file was edited in 1997, but the entry in testsuite/ChangeLog uses
a wild card.  I used cvs log and cvs diff on the Red Hat archive to
identify the actual files edited and fixed testsuite/ChangeLog.

===

diff -upr gdb.orig/testsuite/gdb.c++/cplusfuncs.exp gdb/testsuite/gdb.c++/cplusfuncs.exp
--- gdb.orig/testsuite/gdb.c++/cplusfuncs.exp   Thu Feb 15 19:58:09 2001
+++ gdb/testsuite/gdb.c++/cplusfuncs.exp        Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1997, 1999, 2001 Free Software Foundation, Inc.
+# Copyright 1992, 1994, 1995, 1997, 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

testsuite/ChangeLog says "gdb.base/cplusfuncs.exp", but it should say
"gdb.c++/cplusfuncs.exp".  Obvious fix.

===

diff -upr gdb.orig/testsuite/gdb.c++/demangle.exp gdb/testsuite/gdb.c++/demangle.exp
--- gdb.orig/testsuite/gdb.c++/demangle.exp     Wed Sep  8 17:00:27 1999
+++ gdb/testsuite/gdb.c++/demangle.exp  Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1997, 1999 Free Software Foundation, Inc.
+# Copyright 1992, 1994, 1995, 1996, 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

This file was edited in 1997, but the entry in testsuite/ChangeLog uses
a wild card.  I used cvs log and cvs diff on the Red Hat archive to
identify the actual files edited and fixed testsuite/ChangeLog.

===

diff -upr gdb.orig/testsuite/gdb.c++/ovldbreak.exp gdb/testsuite/gdb.c++/ovldbreak.exp
--- gdb.orig/testsuite/gdb.c++/ovldbreak.exp    Mon Jan 29 17:06:26 2001
+++ gdb/testsuite/gdb.c++/ovldbreak.exp Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
+# Copyright 1998, 1999, 2000 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

Embarrassing!  The guy who changed ovldbreak.exp in 2001, me, did not
check in a ChangeLog entry.  Obvious fix.

===

A lot of testsuite/gdb.chill/*.exp dropped the year 1997.  All of these
are due to a wildcard in testsuite/gdb.chill/ChangeLog.  I expanded the
wildcard and commited the ChangeLog under the obvious fix rule.

===

diff -upr gdb.orig/testsuite/gdb.disasm/sh3.exp gdb/testsuite/gdb.disasm/sh3.exp--- gdb.orig/testsuite/gdb.disasm/sh3.exp       Thu Apr 15 18:34:33 1999
+++ gdb/testsuite/gdb.disasm/sh3.exp    Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1992, 1997 Free Software Foundation, Inc.
+# Copyright 1992, 1995 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

Another wildcard in testsuite/ChangeLog.  This one is on 1997-06-29
and I've expanded it like the others.

===

diff -upr gdb.orig/testsuite/gdb.fortran/exprs.exp gdb/testsuite/gdb.fortran/exprs.exp
--- gdb.orig/testsuite/gdb.fortran/exprs.exp    Thu Apr 15 18:34:34 1999
+++ gdb/testsuite/gdb.fortran/exprs.exp Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+# Copyright 1994, 1995, 1996 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

Another wildcard in testsuite/ChangeLog.  This one is on 1997-02-01
and I've expanded it like the others.

===

diff -upr gdb.orig/testsuite/gdb.threads/pthreads.exp gdb/testsuite/gdb.threads/pthreads.exp
--- gdb.orig/testsuite/gdb.threads/pthreads.exp Thu Feb 15 19:58:09 2001
+++ gdb/testsuite/gdb.threads/pthreads.exp      Thu Mar  1 00:12:04 2001
@@ -1,4 +1,4 @@
-# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+# Copyright 1996, 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

Another wildcard in testsuite/ChangeLog.  This one is on 1997-02-23
and I've expanded it like the others.

===

diff -upr gdb.orig/typeprint.h gdb/typeprint.h
--- gdb.orig/typeprint.h        Tue Feb  1 17:21:11 2000
+++ gdb/typeprint.h     Thu Mar  1 00:12:04 2001
@@ -1,5 +1,5 @@
 /* Language independent support for printing types for GDB, the GNU debugger.
-   Copyright 1986, 1988, 1989, 1991-1993, 1999, 2000
+   Copyright 1986, 1988, 1989, 1991, 1992, 1993, 2000
    Free Software Foundation, Inc.
 
    This file is part of GDB.

This file was edited in 1999, but there is no ChangeLog entry for it.
It would take nontrivial work to reconstruct the ChangeLog entry.
Just leave the 1999 in.

===

diff -upr gdb.orig/valprint.h gdb/valprint.h
--- gdb.orig/valprint.h Mon Feb  7 21:39:02 2000
+++ gdb/valprint.h      Thu Mar  1 00:12:05 2001
@@ -1,5 +1,6 @@
 /* Declarations for value printing routines for GDB, the GNU debugger.
-   Copyright 1986, 1988, 1989, 1991-1994, 2000 Free Software Foundation, Inc.
+   Copyright 1986, 1988, 1989, 1992, 1994, 1998, 2000
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
This file was created on 1992-12-18 as a descendant of valprint.c.
Thus, the 1991 entry should stay.  This file was edited on 1993-11-01
but the ChangeLog entry does not mention any filenams.  The 1993 entry
should stay too.


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