This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testsuite/copyright] gdb.base/complex.c: add copyright notice
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 04 Aug 2004 20:52:40 -0400
- Subject: [patch/testsuite/copyright] gdb.base/complex.c: add copyright notice
This patch adds a copyright notice to gdb.base/complex.c.
complex.c was introduced in 2003. It was derived from
gcc/testsuite/gcc.c-torture/execute/20020720-1.c, with substantial
additions. On the gcc side, 20020720-1.c was originally written in 2002.
Data sources: gcc testsuite ChangeLog, gcc cvs history,
gdb testsuite ChangeLog, gdb cvs history.
Tested on native i686-pc-linux-gnu, gcc 2.95.3 3.3.4 3.4.1,
dwarf-2 and stabs+.
I am committing this now,
Michael C
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
Index: gdb.base/complex.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/complex.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 complex.c
*** gdb.base/complex.c 29 Jun 2003 20:32:23 -0000 1.1
--- gdb.base/complex.c 5 Aug 2004 00:49:09 -0000
***************
*** 1,3 ****
--- 1,23 ----
+ /* Copyright 2002, 2003
+ 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. */
+
/* Test taken from GCC. Verify that we can print a structure containing
a complex number. */