Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/testsuite/ada] Add copyright notices
@ 2004-04-01 18:07 Joel Brobecker
  2004-04-01 18:11 ` David Carlton
  2004-04-01 18:17 ` Daniel Jacobowitz
  0 siblings, 2 replies; 4+ messages in thread
From: Joel Brobecker @ 2004-04-01 18:07 UTC (permalink / raw)
  To: gdb-patches

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

As noticed by Daniel (thanks!), the copyright notices are missing
in the .exp files and the Ada source files I recently checked in.
The attached patch adds them.

2004-04-31  Joel Brobecker  <brobecker@gnat.com>

        * bar.ads: Add copyright notice.
        * bar.adb: Likewise.
        * null_record.adb: Likewise.
        * null_record.exp: Likewise.
        * lib/ada.exp: Likewise.

OK to apply? (obvious?)

Thanks,
-- 
Joel

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

Index: bar.adb
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/bar.adb,v
retrieving revision 1.1
diff -u -r1.1 bar.adb
--- bar.adb	1 Apr 2004 00:57:59 -0000	1.1
+++ bar.adb	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,19 @@
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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.
+
 package body Bar is
 
    procedure Do_Nothing is
Index: bar.ads
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/bar.ads,v
retrieving revision 1.1
diff -u -r1.1 bar.ads
--- bar.ads	1 Apr 2004 00:57:59 -0000	1.1
+++ bar.ads	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,18 @@
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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.
 
 package Bar is
 
Index: null_record.adb
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/null_record.adb,v
retrieving revision 1.1
diff -u -r1.1 null_record.adb
--- null_record.adb	1 Apr 2004 00:57:59 -0000	1.1
+++ null_record.adb	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,19 @@
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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.
+
 with Bar; use Bar;
 
 procedure Null_Record is
Index: null_record.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/null_record.exp,v
retrieving revision 1.1
diff -u -r1.1 null_record.exp
--- null_record.exp	1 Apr 2004 00:57:59 -0000	1.1
+++ null_record.exp	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,20 @@
+# Copyright 2004 Free Software Foundation, Inc.
+#
+# 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.  
+
 if $tracelevel then {
     strace $tracelevel
 }
Index: lib/ada.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/ada.exp,v
retrieving revision 1.2
diff -u -r1.2 ada.exp
--- lib/ada.exp	1 Apr 2004 17:45:46 -0000	1.2
+++ lib/ada.exp	1 Apr 2004 18:04:14 -0000
@@ -1,3 +1,20 @@
+# Copyright 2004 Free Software Foundation, Inc.
+#
+# 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.  
+
 load_lib libgloss.exp
 
 # FIXME:brobecker/2004-03-31:

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

* Re: [RFA/testsuite/ada] Add copyright notices
  2004-04-01 18:07 [RFA/testsuite/ada] Add copyright notices Joel Brobecker
@ 2004-04-01 18:11 ` David Carlton
  2004-04-01 18:17 ` Daniel Jacobowitz
  1 sibling, 0 replies; 4+ messages in thread
From: David Carlton @ 2004-04-01 18:11 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Thu, 1 Apr 2004 10:07:32 -0800, Joel Brobecker <brobecker@gnat.com> said:

> OK to apply? (obvious?)

Obvious (unless you've taken any of the code from somewhere else, of
course).

David Carlton
carlton@kealia.com


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

* Re: [RFA/testsuite/ada] Add copyright notices
  2004-04-01 18:07 [RFA/testsuite/ada] Add copyright notices Joel Brobecker
  2004-04-01 18:11 ` David Carlton
@ 2004-04-01 18:17 ` Daniel Jacobowitz
  2004-04-01 18:44   ` Joel Brobecker
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2004-04-01 18:17 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Thu, Apr 01, 2004 at 10:07:32AM -0800, Joel Brobecker wrote:
> As noticed by Daniel (thanks!), the copyright notices are missing
> in the .exp files and the Ada source files I recently checked in.
> The attached patch adds them.
> 
> 2004-04-31  Joel Brobecker  <brobecker@gnat.com>
> 
>         * bar.ads: Add copyright notice.
>         * bar.adb: Likewise.
>         * null_record.adb: Likewise.
>         * null_record.exp: Likewise.
>         * lib/ada.exp: Likewise.
> 
> OK to apply? (obvious?)

As David said, obvious as long as the new copyright notices are
correct.  I think gnat_ada.gpr.in should have a copyright notice also.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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

* Re: [RFA/testsuite/ada] Add copyright notices
  2004-04-01 18:17 ` Daniel Jacobowitz
@ 2004-04-01 18:44   ` Joel Brobecker
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Brobecker @ 2004-04-01 18:44 UTC (permalink / raw)
  To: gdb-patches

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

> As David said, obvious as long as the new copyright notices are
> correct.  I think gnat_ada.gpr.in should have a copyright notice also.

OK, thanks for the feedback. I am the author of all these files, so
the copyright notices are correct. I also added the notice for
gnat_ada.gpr.in. Here is what I have checked in:

2004-04-01  Joel Brobecker  <brobecker@gnat.com>

        * lib/ada.exp: Add copyright notice.
        * bar.ads: Likewise.
        * bar.adb: Likewise.
        * null_record.adb: Likewise.
        * null_record.exp: Likewise.
        * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.

-- 
Joel

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

Index: bar.adb
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/bar.adb,v
retrieving revision 1.1
diff -u -r1.1 bar.adb
--- bar.adb	1 Apr 2004 00:57:59 -0000	1.1
+++ bar.adb	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,19 @@
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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.
+
 package body Bar is
 
    procedure Do_Nothing is
Index: bar.ads
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/bar.ads,v
retrieving revision 1.1
diff -u -r1.1 bar.ads
--- bar.ads	1 Apr 2004 00:57:59 -0000	1.1
+++ bar.ads	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,18 @@
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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.
 
 package Bar is
 
Index: null_record.adb
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/null_record.adb,v
retrieving revision 1.1
diff -u -r1.1 null_record.adb
--- null_record.adb	1 Apr 2004 00:57:59 -0000	1.1
+++ null_record.adb	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,19 @@
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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.
+
 with Bar; use Bar;
 
 procedure Null_Record is
Index: null_record.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/null_record.exp,v
retrieving revision 1.1
diff -u -r1.1 null_record.exp
--- null_record.exp	1 Apr 2004 00:57:59 -0000	1.1
+++ null_record.exp	1 Apr 2004 17:59:59 -0000
@@ -1,3 +1,20 @@
+# Copyright 2004 Free Software Foundation, Inc.
+#
+# 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.  
+
 if $tracelevel then {
     strace $tracelevel
 }
Index: lib/ada.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/ada.exp,v
retrieving revision 1.2
diff -u -r1.2 ada.exp
--- lib/ada.exp	1 Apr 2004 17:45:46 -0000	1.2
+++ lib/ada.exp	1 Apr 2004 18:04:14 -0000
@@ -1,3 +1,20 @@
+# Copyright 2004 Free Software Foundation, Inc.
+#
+# 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.  
+
 load_lib libgloss.exp
 
 # FIXME:brobecker/2004-03-31:
Index: gnat_ada.gpr.in
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/gnat_ada.gpr.in,v
retrieving revision 1.1
diff -u -r1.1 gnat_ada.gpr.in
--- gnat_ada.gpr.in	1 Apr 2004 00:53:50 -0000	1.1
+++ gnat_ada.gpr.in	1 Apr 2004 18:36:36 -0000
@@ -1,10 +1,27 @@
---  This project files allows us to control the location where the
+--  Copyright 2004 Free Software Foundation, Inc.
+--
+--  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 project file allows us to control the location where the
 --  compilation artifacts produced when building the Ada examples
 --  are stored.
 
 project Gnat_Ada is
 
    for Source_Dirs use ("@srcdir@");
-   --  No need to set the Object_Dir, it is set to "." by default.
+   --  No need to set the Object_Dir, it is set to "." by default
+   --  (which means the same directory as this project file).
 
 end Gnat_Ada;

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

end of thread, other threads:[~2004-04-01 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-01 18:07 [RFA/testsuite/ada] Add copyright notices Joel Brobecker
2004-04-01 18:11 ` David Carlton
2004-04-01 18:17 ` Daniel Jacobowitz
2004-04-01 18:44   ` Joel Brobecker

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