From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19389 invoked by alias); 17 Aug 2004 11:36:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19364 invoked from network); 17 Aug 2004 11:36:26 -0000 Received: from unknown (HELO hall.mail.mindspring.net) (207.69.200.60) by sourceware.org with SMTP; 17 Aug 2004 11:36:26 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1Bx2GJ-0001b0-00; Tue, 17 Aug 2004 07:36:19 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 286304B102; Tue, 17 Aug 2004 07:36:33 -0400 (EDT) Date: Tue, 17 Aug 2004 11:36:00 -0000 From: Michael Chastain To: cagney@redhat.com, ezannoni@redhat.com Subject: [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright notice Cc: gdb-patches@sources.redhat.com Message-ID: <4121EDC0.nail9EU1ZPKM2@mindspring.com> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00549.txt.bz2 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 * 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;