Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Chastain <mec.gnu@mindspring.com>
To: cagney@redhat.com, ezannoni@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright  notice
Date: Tue, 17 Aug 2004 11:36:00 -0000	[thread overview]
Message-ID: <4121EDC0.nail9EU1ZPKM2@mindspring.com> (raw)

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;


             reply	other threads:[~2004-08-17 11:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17 11:36 Michael Chastain [this message]
2004-08-24 22:54 ` Andrew Cagney
2004-08-25  1:06   ` Michael Chastain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4121EDC0.nail9EU1ZPKM2@mindspring.com \
    --to=mec.gnu@mindspring.com \
    --cc=cagney@redhat.com \
    --cc=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox