Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* more missing gplv3 notices
@ 2009-03-16  9:49 Nathan Sidwell
  2009-03-16 19:32 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Nathan Sidwell @ 2009-03-16  9:49 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

I grepped the gdb directory for gplv2 notices to produce the attached patch 
which moves them all to gplv3.  Mostly these are .y files, which I guess were 
missed the first time round.

We really should put a COPYING3 file in the gdb source directory, as the only 
COPYING file there is a v2 one, and one might presume that it is the one that 
applies to this part of the source tree.  (alternatively remove the COPYING 
file, so the toplevel COPYING3 file is more obvious).

ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery


[-- Attachment #2: all.diff --]
[-- Type: text/plain, Size: 34448 bytes --]

2009-03-16  Nathan Sidwell  <nathan@codesourcery.com>

	* Makefile.in, ada-exp.y, ada-lex.l, c-exp.y, cp-name-parser.y,
	darwin-nat-info.c, f-exp.y, gdb_thread_db.h, hppanbsd-nat.c,
	hppanbsd-tdep.c, hppaobsd-tdep.c, jv-exp.y, m2-exp.y, objc-exp.y,
	p-exp.y, reply_mig_hack.awk, reverse.c, xtensa-xtregs.c: Update
	license to GPLv3.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1070
diff -c -3 -p -r1.1070 Makefile.in
*** Makefile.in	2 Mar 2009 01:27:35 -0000	1.1070
--- Makefile.in	16 Mar 2009 07:55:11 -0000
***************
*** 6,12 ****
  
  # 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,
--- 6,12 ----
  
  # 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 3 of the License, or
  # (at your option) any later version.
  #
  # This program is distributed in the hope that it will be useful,
***************
*** 15,23 ****
  # 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., 51 Franklin Street, Fifth Floor,
! # Boston, MA 02110-1301, USA.
  
  prefix = @prefix@
  exec_prefix = @exec_prefix@
--- 15,21 ----
  # 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, see <http://www.gnu.org/licenses/>.
  
  prefix = @prefix@
  exec_prefix = @exec_prefix@
Index: ada-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/ada-exp.y,v
retrieving revision 1.34
diff -c -3 -p -r1.34 ada-exp.y
*** ada-exp.y	21 Feb 2009 16:14:47 -0000	1.34
--- ada-exp.y	16 Mar 2009 07:55:12 -0000
***************
*** 2,23 ****
     Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1997, 2000, 2003, 2004,
     2007, 2008, 2009 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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* Parse an Ada expression from text in a string,
     and return the result as a  struct expression  pointer.
--- 2,21 ----
     Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1997, 2000, 2003, 2004,
     2007, 2008, 2009 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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* Parse an Ada expression from text in a string,
     and return the result as a  struct expression  pointer.
Index: ada-lex.l
===================================================================
RCS file: /cvs/src/src/gdb/ada-lex.l,v
retrieving revision 1.24
diff -c -3 -p -r1.24 ada-lex.l
*** ada-lex.l	3 Jan 2009 05:57:50 -0000	1.24
--- ada-lex.l	16 Mar 2009 07:55:12 -0000
***************
*** 2,23 ****
     Copyright (C) 1994, 1997, 1998, 2000, 2001, 2002, 2003, 2007, 2008, 2009
     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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /*----------------------------------------------------------------------*/
  
--- 2,21 ----
     Copyright (C) 1994, 1997, 1998, 2000, 2001, 2002, 2003, 2007, 2008, 2009
     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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /*----------------------------------------------------------------------*/
  
Index: c-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/c-exp.y,v
retrieving revision 1.52
diff -c -3 -p -r1.52 c-exp.y
*** c-exp.y	3 Jan 2009 05:57:51 -0000	1.52
--- c-exp.y	16 Mar 2009 07:55:15 -0000
***************
*** 3,24 ****
     1998, 1999, 2000, 2003, 2004, 2006, 2007, 2008, 2009
     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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* Parse a C expression from text in a string,
     and return the result as a  struct expression  pointer.
--- 3,22 ----
     1998, 1999, 2000, 2003, 2004, 2006, 2007, 2008, 2009
     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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* Parse a C expression from text in a string,
     and return the result as a  struct expression  pointer.
Index: cp-name-parser.y
===================================================================
RCS file: /cvs/src/src/gdb/cp-name-parser.y,v
retrieving revision 1.13
diff -c -3 -p -r1.13 cp-name-parser.y
*** cp-name-parser.y	21 Feb 2009 16:14:47 -0000	1.13
--- cp-name-parser.y	16 Mar 2009 07:55:15 -0000
***************
*** 5,26 ****
  
     Parts of the lexer are based on c-exp.y from GDB.
  
! 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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* Note that malloc's and realloc's in this file are transformed to
     xmalloc and xrealloc respectively by the same sed command in the
--- 5,24 ----
  
     Parts of the lexer are based on c-exp.y from GDB.
  
!    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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* Note that malloc's and realloc's in this file are transformed to
     xmalloc and xrealloc respectively by the same sed command in the
Index: darwin-nat-info.c
===================================================================
RCS file: /cvs/src/src/gdb/darwin-nat-info.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 darwin-nat-info.c
*** darwin-nat-info.c	3 Jan 2009 05:57:51 -0000	1.2
--- darwin-nat-info.c	16 Mar 2009 07:55:16 -0000
***************
*** 8,14 ****
  
     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,
--- 8,14 ----
  
     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 3 of the License, or
     (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,
***************
*** 17,25 ****
     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.  */
  
  /* The name of the ppc_thread_state structure, and the names of its
     members, have been changed for Unix conformance reasons.  The easiest
--- 17,23 ----
     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, see <http://www.gnu.org/licenses/>.  */
  
  /* The name of the ppc_thread_state structure, and the names of its
     members, have been changed for Unix conformance reasons.  The easiest
Index: f-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/f-exp.y,v
retrieving revision 1.28
diff -c -3 -p -r1.28 f-exp.y
*** f-exp.y	3 Jan 2009 05:57:51 -0000	1.28
--- f-exp.y	16 Mar 2009 07:55:17 -0000
***************
*** 6,27 ****
     Contributed by Motorola.  Adapted from the C parser by Farooq Butt
     (fmbutt@engage.sps.mot.com).
  
! 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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* This was blantantly ripped off the C expression parser, please 
     be aware of that as you look at its basic structure -FMB */ 
--- 6,25 ----
     Contributed by Motorola.  Adapted from the C parser by Farooq Butt
     (fmbutt@engage.sps.mot.com).
  
!    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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* This was blantantly ripped off the C expression parser, please 
     be aware of that as you look at its basic structure -FMB */ 
Index: gdb_thread_db.h
===================================================================
RCS file: /cvs/src/src/gdb/gdb_thread_db.h,v
retrieving revision 1.11
diff -c -3 -p -r1.11 gdb_thread_db.h
*** gdb_thread_db.h	3 Jan 2009 05:57:51 -0000	1.11
--- gdb_thread_db.h	16 Mar 2009 07:55:17 -0000
***************
*** 7,13 ****
  
     The GNU C Library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public License as
!    published by the Free Software Foundation; either version 2 of the
     License, or (at your option) any later version.
  
     The GNU C Library is distributed in the hope that it will be useful,
--- 7,13 ----
  
     The GNU C Library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public License as
!    published by the Free Software Foundation; either version 3 of the
     License, or (at your option) any later version.
  
     The GNU C Library is distributed in the hope that it will be useful,
***************
*** 15,24 ****
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Library General Public License for more details.
  
!    You should have received a copy of the GNU Library General Public
!    License along with the GNU C Library; see the file COPYING.LIB.  If not,
!    write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
!    Boston, MA 02110-1301, USA.  */
  
  #ifndef _THREAD_DB_H
  #define _THREAD_DB_H	1
--- 15,22 ----
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Library General Public License for more details.
  
!    You should have received a copy of the GNU General Public License
!    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
  
  #ifndef _THREAD_DB_H
  #define _THREAD_DB_H	1
Index: hppanbsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/hppanbsd-nat.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 hppanbsd-nat.c
*** hppanbsd-nat.c	23 Feb 2009 00:03:49 -0000	1.3
--- hppanbsd-nat.c	16 Mar 2009 07:55:17 -0000
***************
*** 6,12 ****
  
     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,
--- 6,12 ----
  
     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 3 of the License, or
     (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,
***************
*** 15,23 ****
     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., 51 Franklin Street, Fifth Floor,
!    Boston, MA 02110-1301, USA.  */
  
  #include "defs.h"
  #include "inferior.h"
--- 15,21 ----
     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, see <http://www.gnu.org/licenses/>.  */
  
  #include "defs.h"
  #include "inferior.h"
Index: hppanbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppanbsd-tdep.c,v
retrieving revision 1.4
diff -c -3 -p -r1.4 hppanbsd-tdep.c
*** hppanbsd-tdep.c	22 Feb 2009 01:02:17 -0000	1.4
--- hppanbsd-tdep.c	16 Mar 2009 07:55:17 -0000
***************
*** 6,12 ****
  
     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,
--- 6,12 ----
  
     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 3 of the License, or
     (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,
***************
*** 15,23 ****
     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., 51 Franklin Street, Fifth Floor,
!    Boston, MA 02110-1301, USA.  */
  
  #include "defs.h"
  #include "osabi.h"
--- 15,21 ----
     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, see <http://www.gnu.org/licenses/>.  */
  
  #include "defs.h"
  #include "osabi.h"
Index: hppaobsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppaobsd-tdep.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 hppaobsd-tdep.c
*** hppaobsd-tdep.c	22 Feb 2009 01:02:17 -0000	1.3
--- hppaobsd-tdep.c	16 Mar 2009 07:55:17 -0000
***************
*** 6,12 ****
  
     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,
--- 6,12 ----
  
     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 3 of the License, or
     (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,
***************
*** 15,23 ****
     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., 51 Franklin Street, Fifth Floor,
!    Boston, MA 02110-1301, USA.  */
  
  #include "defs.h"
  #include "osabi.h"
--- 15,21 ----
     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, see <http://www.gnu.org/licenses/>.  */
  
  #include "defs.h"
  #include "osabi.h"
Index: jv-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/jv-exp.y,v
retrieving revision 1.33
diff -c -3 -p -r1.33 jv-exp.y
*** jv-exp.y	3 Jan 2009 05:57:52 -0000	1.33
--- jv-exp.y	16 Mar 2009 07:55:18 -0000
***************
*** 2,23 ****
     Copyright (C) 1997, 1998, 1999, 2000, 2006, 2007, 2008, 2009
     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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* Parse a Java expression from text in a string,
     and return the result as a  struct expression  pointer.
--- 2,21 ----
     Copyright (C) 1997, 1998, 1999, 2000, 2006, 2007, 2008, 2009
     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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* Parse a Java expression from text in a string,
     and return the result as a  struct expression  pointer.
Index: m2-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/m2-exp.y,v
retrieving revision 1.25
diff -c -3 -p -r1.25 m2-exp.y
*** m2-exp.y	3 Jan 2009 05:57:52 -0000	1.25
--- m2-exp.y	16 Mar 2009 07:55:19 -0000
***************
*** 4,25 ****
     Generated from expread.y (now c-exp.y) and contributed by the Department
     of Computer Science at the State University of New York at Buffalo, 1991.
  
! 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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* Parse a Modula-2 expression from text in a string,
     and return the result as a  struct expression  pointer.
--- 4,23 ----
     Generated from expread.y (now c-exp.y) and contributed by the Department
     of Computer Science at the State University of New York at Buffalo, 1991.
  
!    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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* Parse a Modula-2 expression from text in a string,
     and return the result as a  struct expression  pointer.
Index: objc-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/objc-exp.y,v
retrieving revision 1.33
diff -c -3 -p -r1.33 objc-exp.y
*** objc-exp.y	3 Jan 2009 05:57:52 -0000	1.33
--- objc-exp.y	16 Mar 2009 07:55:20 -0000
***************
*** 5,11 ****
  
     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,
--- 5,11 ----
  
     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 3 of the License, or
     (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,
***************
*** 14,22 ****
     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., 51 Franklin Street, Fifth Floor,
!    Boston, MA 02110-1301, USA.  */
  
  /* Parse a C expression from text in a string, and return the result
     as a struct expression pointer.  That structure contains arithmetic
--- 14,20 ----
     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, see <http://www.gnu.org/licenses/>.  */
  
  /* Parse a C expression from text in a string, and return the result
     as a struct expression pointer.  That structure contains arithmetic
Index: p-exp.y
===================================================================
RCS file: /cvs/src/src/gdb/p-exp.y,v
retrieving revision 1.45
diff -c -3 -p -r1.45 p-exp.y
*** p-exp.y	3 Jan 2009 05:57:52 -0000	1.45
--- p-exp.y	16 Mar 2009 07:55:21 -0000
***************
*** 1,22 ****
  /* YACC parser for Pascal expressions, for GDB.
     Copyright (C) 2000, 2006, 2007, 2008, 2009 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., 51 Franklin Street, Fifth Floor,
! Boston, MA 02110-1301, USA.  */
  
  /* This file is derived from c-exp.y */
  
--- 1,20 ----
  /* YACC parser for Pascal expressions, for GDB.
     Copyright (C) 2000, 2006, 2007, 2008, 2009 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 3 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, see <http://www.gnu.org/licenses/>.  */
  
  /* This file is derived from c-exp.y */
  
Index: reply_mig_hack.awk
===================================================================
RCS file: /cvs/src/src/gdb/reply_mig_hack.awk,v
retrieving revision 1.8
diff -c -3 -p -r1.8 reply_mig_hack.awk
*** reply_mig_hack.awk	3 Jan 2009 05:57:53 -0000	1.8
--- reply_mig_hack.awk	16 Mar 2009 07:55:21 -0000
***************
*** 7,13 ****
  #
  #   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, or (at
  #   your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful, but
--- 7,13 ----
  #
  #   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 3, or (at
  #   your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful, but
***************
*** 16,24 ****
  #   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., 51 Franklin Street, Fifth Floor,
! #   Boston, MA 02110-1301, USA.
  #
  # This awk script hacks the output of mig-generated reply server code
  # so that it allows replies with just the error-code in them (as this is
--- 16,22 ----
  #   General Public License for more details.
  #
  #   You should have received a copy of the GNU General Public License
! #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  # This awk script hacks the output of mig-generated reply server code
  # so that it allows replies with just the error-code in them (as this is
Index: reverse.c
===================================================================
RCS file: /cvs/src/src/gdb/reverse.c,v
retrieving revision 1.5
diff -c -3 -p -r1.5 reverse.c
*** reverse.c	21 Feb 2009 16:14:49 -0000	1.5
--- reverse.c	16 Mar 2009 07:55:21 -0000
***************
*** 6,12 ****
  
     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,
--- 6,12 ----
  
     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 3 of the License, or
     (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,
***************
*** 15,23 ****
     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., 51 Franklin Street, Fifth Floor,
!    Boston, MA 02110-1301, USA.  */
  
  #include "defs.h"
  #include "gdb_string.h"
--- 15,21 ----
     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, see <http://www.gnu.org/licenses/>.  */
  
  #include "defs.h"
  #include "gdb_string.h"
Index: xtensa-xtregs.c
===================================================================
RCS file: /cvs/src/src/gdb/xtensa-xtregs.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 xtensa-xtregs.c
*** xtensa-xtregs.c	3 Jan 2009 05:57:54 -0000	1.3
--- xtensa-xtregs.c	16 Mar 2009 07:55:22 -0000
***************
*** 5,11 ****
  
     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,
--- 5,11 ----
  
     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 3 of the
     License, or (at your option) any later version.
  
     This program is distributed in the hope that it will be useful,

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-16  9:49 more missing gplv3 notices Nathan Sidwell
@ 2009-03-16 19:32 ` Eli Zaretskii
  2009-03-17 11:36   ` Nathan Sidwell
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2009-03-16 19:32 UTC (permalink / raw)
  To: Nathan Sidwell; +Cc: gdb-patches

> Date: Mon, 16 Mar 2009 07:59:50 +0000
> From: Nathan Sidwell <nathan@codesourcery.com>
> 
> I grepped the gdb directory for gplv2 notices to produce the attached patch 
> which moves them all to gplv3.  Mostly these are .y files, which I guess were 
> missed the first time round.

Thanks.

> ok?

Fine with me, but please format the ChangeLog entry according to GNU
coding standards.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-16 19:32 ` Eli Zaretskii
@ 2009-03-17 11:36   ` Nathan Sidwell
  2009-03-17 19:04     ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Nathan Sidwell @ 2009-03-17 11:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

Eli Zaretskii wrote:
>> Date: Mon, 16 Mar 2009 07:59:50 +0000
>> From: Nathan Sidwell <nathan@codesourcery.com>
>>
>> I grepped the gdb directory for gplv2 notices to produce the attached patch 
>> which moves them all to gplv3.  Mostly these are .y files, which I guess were 
>> missed the first time round.
> 
> Thanks.
> 
>> ok?
> 
> Fine with me, but please format the ChangeLog entry according to GNU
> coding standards.

I thought I had.  Please clarify what is wrong.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-17 11:36   ` Nathan Sidwell
@ 2009-03-17 19:04     ` Eli Zaretskii
  2009-03-17 19:28       ` Daniel Jacobowitz
  2009-03-18 11:05       ` Nathan Sidwell
  0 siblings, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2009-03-17 19:04 UTC (permalink / raw)
  To: Nathan Sidwell; +Cc: gdb-patches

> Date: Tue, 17 Mar 2009 08:04:07 +0000
> From: Nathan Sidwell <nathan@codesourcery.com>
> CC: gdb-patches@sourceware.org
> 
> > Fine with me, but please format the ChangeLog entry according to GNU
> > coding standards.
> 
> I thought I had.  Please clarify what is wrong.

Each file should begin on a separate line.  Example:

   2009-01-12  Christopher Faylor  <me+cygwin@cgf.cx>

	   * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
	   throughout.
	   * i386-cygwin-tdep.c: Ditto.
	   * i386-windows-nat.c: Ditto.
	   * windows-nat.h: Ditto.
	   * windows-tdep.c: Ditto.
	   * windows-tdep.h: Ditto.
	   * windows-nat.c: Ditto.

See the node "Style of Change Logs" in standards.info for details.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-17 19:04     ` Eli Zaretskii
@ 2009-03-17 19:28       ` Daniel Jacobowitz
  2009-03-17 20:03         ` Eli Zaretskii
  2009-03-18 11:05       ` Nathan Sidwell
  1 sibling, 1 reply; 11+ messages in thread
From: Daniel Jacobowitz @ 2009-03-17 19:28 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Nathan Sidwell, gdb-patches

On Tue, Mar 17, 2009 at 09:03:27PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 17 Mar 2009 08:04:07 +0000
> > From: Nathan Sidwell <nathan@codesourcery.com>
> > CC: gdb-patches@sourceware.org
> > 
> > > Fine with me, but please format the ChangeLog entry according to GNU
> > > coding standards.
> > 
> > I thought I had.  Please clarify what is wrong.
> 
> Each file should begin on a separate line.  Example:
> 
>    2009-01-12  Christopher Faylor  <me+cygwin@cgf.cx>
> 
> 	   * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
> 	   throughout.
> 	   * i386-cygwin-tdep.c: Ditto.
> 	   * i386-windows-nat.c: Ditto.
> 	   * windows-nat.h: Ditto.
> 	   * windows-tdep.c: Ditto.
> 	   * windows-tdep.h: Ditto.
> 	   * windows-nat.c: Ditto.
> 
> See the node "Style of Change Logs" in standards.info for details.

It does not say that explicitly (doesn't mention multi-file changes at
all), and this is not the prevailing style used by GDB developers
based on my survey of the changelogs.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-17 19:28       ` Daniel Jacobowitz
@ 2009-03-17 20:03         ` Eli Zaretskii
  2009-03-18 16:01           ` Alfred M. Szmidt
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2009-03-17 20:03 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: nathan, gdb-patches

> Date: Tue, 17 Mar 2009 15:12:51 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Nathan Sidwell <nathan@codesourcery.com>, gdb-patches@sourceware.org
> 
> >    2009-01-12  Christopher Faylor  <me+cygwin@cgf.cx>
> > 
> > 	   * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
> > 	   throughout.
> > 	   * i386-cygwin-tdep.c: Ditto.
> > 	   * i386-windows-nat.c: Ditto.
> > 	   * windows-nat.h: Ditto.
> > 	   * windows-tdep.c: Ditto.
> > 	   * windows-tdep.h: Ditto.
> > 	   * windows-nat.c: Ditto.
> > 
> > See the node "Style of Change Logs" in standards.info for details.
> 
> It does not say that explicitly (doesn't mention multi-file changes at
> all), and this is not the prevailing style used by GDB developers
> based on my survey of the changelogs.

Sorry, I forgot I shouldn't talk about these things.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-17 19:04     ` Eli Zaretskii
  2009-03-17 19:28       ` Daniel Jacobowitz
@ 2009-03-18 11:05       ` Nathan Sidwell
  1 sibling, 0 replies; 11+ messages in thread
From: Nathan Sidwell @ 2009-03-18 11:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

Eli Zaretskii wrote:
>> Date: Tue, 17 Mar 2009 08:04:07 +0000
>> From: Nathan Sidwell <nathan@codesourcery.com>
>> CC: gdb-patches@sourceware.org
>>
>>> Fine with me, but please format the ChangeLog entry according to GNU
>>> coding standards.
>> I thought I had.  Please clarify what is wrong.
> 
> Each file should begin on a separate line.  Example:
> 

oh, ok. GCC does not follow that rule :)

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-17 20:03         ` Eli Zaretskii
@ 2009-03-18 16:01           ` Alfred M. Szmidt
  2009-03-18 16:12             ` Pedro Alves
  0 siblings, 1 reply; 11+ messages in thread
From: Alfred M. Szmidt @ 2009-03-18 16:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: drow, nathan, gdb-patches


   > >    2009-01-12  Christopher Faylor  <me+cygwin@cgf.cx>
   > > 
   > > 	   * amd64-windows-nat.c Rename gdb-specific win32_* to windows_*
   > > 	   throughout.
   > > 	   * i386-cygwin-tdep.c: Ditto.
   > > 	   * i386-windows-nat.c: Ditto.
   > > 	   * windows-nat.h: Ditto.
   > > 	   * windows-tdep.c: Ditto.
   > > 	   * windows-tdep.h: Ditto.
   > > 	   * windows-nat.c: Ditto.
   > > 
   > > See the node "Style of Change Logs" in standards.info for details.
   > 
   > It does not say that explicitly (doesn't mention multi-file changes at
   > all), and this is not the prevailing style used by GDB developers
   > based on my survey of the changelogs.

   Sorry, I forgot I shouldn't talk about these things.

Though, to open a can of worms,

|    It's important to name the changed function or variable in full.
| Don't abbreviate function or variable names, and don't combine them.
| Subsequent maintainers will often search for a function name to find all
| the change log entries that pertain to it; if you abbreviate the name,
| they won't find it when they search.
| 
|    For example, some people are tempted to abbreviate groups of function
| names by writing `* register.el ({insert,jump-to}-register)'; this is
| not a good idea, since searching for `jump-to-register' or
| `insert-register' would not find that entry.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-18 16:01           ` Alfred M. Szmidt
@ 2009-03-18 16:12             ` Pedro Alves
  2009-03-18 16:33               ` Alfred M. Szmidt
  0 siblings, 1 reply; 11+ messages in thread
From: Pedro Alves @ 2009-03-18 16:12 UTC (permalink / raw)
  To: gdb-patches; +Cc: Alfred M. Szmidt, Eli Zaretskii, drow, nathan

On Wednesday 18 March 2009 15:46:31, Alfred M. Szmidt wrote:
>    Sorry, I forgot I shouldn't talk about these things.
> 
> Though, to open a can of worms,
> 
> |    It's important to name the changed function or variable in full.
> | Don't abbreviate function or variable names, and don't combine them.
> | Subsequent maintainers will often search for a function name to find all
> | the change log entries that pertain to it; if you abbreviate the name,
> | they won't find it when they search.
> | 
> |    For example, some people are tempted to abbreviate groups of function
> | names by writing `* register.el ({insert,jump-to}-register)'; this is
> | not a good idea, since searching for `jump-to-register' or
> | `insert-register' would not find that entry.

And which part of:

        * Makefile.in, ada-exp.y, ada-lex.l, c-exp.y, cp-name-parser.y,
        darwin-nat-info.c, f-exp.y, gdb_thread_db.h, hppanbsd-nat.c,
        hppanbsd-tdep.c, hppaobsd-tdep.c, jv-exp.y, m2-exp.y, objc-exp.y,
        p-exp.y, reply_mig_hack.awk, reverse.c, xtensa-xtregs.c: Update
        license to GPLv3.

has any abbreviation, compared to:

        * Makefile.in: Update license to GPLv3.
        * ada-exp.y: Update license to GPLv3.
        * ada-lex.l: Update license to GPLv3.
...

?

I can't see the point you're making.

We should not abbreviate, since then grepping would miss the
abbreviated forms.  But I fail to see how the former form
has any disadvantage over the latter.  I certainly have used
the former form before many times, and it looks like I'm not the
only one.  Just try this to see for yourself:

>cd gdb
>grep "\.c," ChangeLog* 

?

I've grepped changelogs for changes to a file before, and never
before have I thought that I'd prefer people used the latter
form "'cause I was missing things".

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-18 16:12             ` Pedro Alves
@ 2009-03-18 16:33               ` Alfred M. Szmidt
  2009-03-18 19:24                 ` Pedro Alves
  0 siblings, 1 reply; 11+ messages in thread
From: Alfred M. Szmidt @ 2009-03-18 16:33 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb-patches, eliz, drow, nathan

I was refering to the quoted ChangeLog message.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: more missing gplv3 notices
  2009-03-18 16:33               ` Alfred M. Szmidt
@ 2009-03-18 19:24                 ` Pedro Alves
  0 siblings, 0 replies; 11+ messages in thread
From: Pedro Alves @ 2009-03-18 19:24 UTC (permalink / raw)
  To: gdb-patches; +Cc: Alfred M. Szmidt, eliz, drow, nathan

On Wednesday 18 March 2009 16:12:37, Alfred M. Szmidt wrote:
> I was refering to the quoted ChangeLog message.
> 

Eh, hmmm, ah, oh.  You found an example of a bad example.

Still on the can or worms channel, I've been through some
similar renaming a couple of days ago:

 http://sourceware.org/ml/gdb-patches/2009-03/msg00324.html

... and I can attest that it is painful to write such
spelled out changelogs, so I can understand if one wants
to short circuit it --- yet I'd done it exactly for
"grepability".  I hope it is clear that this is a different
case from Nathan's log.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-03-18 17:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-16  9:49 more missing gplv3 notices Nathan Sidwell
2009-03-16 19:32 ` Eli Zaretskii
2009-03-17 11:36   ` Nathan Sidwell
2009-03-17 19:04     ` Eli Zaretskii
2009-03-17 19:28       ` Daniel Jacobowitz
2009-03-17 20:03         ` Eli Zaretskii
2009-03-18 16:01           ` Alfred M. Szmidt
2009-03-18 16:12             ` Pedro Alves
2009-03-18 16:33               ` Alfred M. Szmidt
2009-03-18 19:24                 ` Pedro Alves
2009-03-18 11:05       ` Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox