* [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright notice
@ 2004-08-17 11:36 Michael Chastain
2004-08-24 22:54 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Michael Chastain @ 2004-08-17 11:36 UTC (permalink / raw)
To: cagney, ezannoni; +Cc: gdb-patches
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;
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright notice
2004-08-17 11:36 [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright notice Michael Chastain
@ 2004-08-24 22:54 ` Andrew Cagney
2004-08-25 1:06 ` Michael Chastain
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2004-08-24 22:54 UTC (permalink / raw)
To: Michael Chastain; +Cc: cagney, ezannoni, gdb-patches
> 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.
Both ok. I think we can largly view this stuff as mindless (no offence
:-) mechanical, and effectively obviousish.
Andrew
> 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
>
> * gdb.mi/basics.c: Add copyright notice.
> * gdb.mi/var-cmd.c: Add copyright notice.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright notice
2004-08-24 22:54 ` Andrew Cagney
@ 2004-08-25 1:06 ` Michael Chastain
0 siblings, 0 replies; 3+ messages in thread
From: Michael Chastain @ 2004-08-25 1:06 UTC (permalink / raw)
To: cagney; +Cc: gdb-patches
Committed.
ac> Both ok. I think we can largly view this stuff as mindless (no offence
ac> :-) mechanical, and effectively obviousish.
Yeah. I figure there's about a 75% to 90% chance that it will
never matter. But if it *does* ever matter, then we will have a
a public record of due diligence. That's worth the hassle.
I also carry a flashlight in my pocket at all times.
I'm such a worry-wart.
===
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-25 1:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-17 11:36 [rfa/testsuite/mi/copyright] basics.c, var-cmd.c: add copyright notice Michael Chastain
2004-08-24 22:54 ` Andrew Cagney
2004-08-25 1:06 ` Michael Chastain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox