aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-04-01 18:42:08 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-04-01 18:42:08 +0000
commitd40d2c921cf3f4d6800d9ad518579a8d448f3f3d (patch)
treef113cbdea31a640cba5293acd390b27f06060322 /gdb/testsuite/gdb.ada
parent408752b0e1531a9da3a29d638d24fc3f3d86fecd (diff)
downloadgdb-d40d2c921cf3f4d6800d9ad518579a8d448f3f3d.zip
gdb-d40d2c921cf3f4d6800d9ad518579a8d448f3f3d.tar.gz
gdb-d40d2c921cf3f4d6800d9ad518579a8d448f3f3d.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.ada')
-rw-r--r--gdb/testsuite/gdb.ada/bar.adb16
-rw-r--r--gdb/testsuite/gdb.ada/bar.ads15
-rw-r--r--gdb/testsuite/gdb.ada/gnat_ada.gpr.in21
-rw-r--r--gdb/testsuite/gdb.ada/null_record.adb16
-rw-r--r--gdb/testsuite/gdb.ada/null_record.exp17
5 files changed, 83 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/bar.adb b/gdb/testsuite/gdb.ada/bar.adb
index a150b75..9c75139 100644
--- a/gdb/testsuite/gdb.ada/bar.adb
+++ b/gdb/testsuite/gdb.ada/bar.adb
@@ -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
diff --git a/gdb/testsuite/gdb.ada/bar.ads b/gdb/testsuite/gdb.ada/bar.ads
index 80d56f6..c3ca11b 100644
--- a/gdb/testsuite/gdb.ada/bar.ads
+++ b/gdb/testsuite/gdb.ada/bar.ads
@@ -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
diff --git a/gdb/testsuite/gdb.ada/gnat_ada.gpr.in b/gdb/testsuite/gdb.ada/gnat_ada.gpr.in
index f38f37b..23cd558 100644
--- a/gdb/testsuite/gdb.ada/gnat_ada.gpr.in
+++ b/gdb/testsuite/gdb.ada/gnat_ada.gpr.in
@@ -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;
diff --git a/gdb/testsuite/gdb.ada/null_record.adb b/gdb/testsuite/gdb.ada/null_record.adb
index 171ad77..260b3d6 100644
--- a/gdb/testsuite/gdb.ada/null_record.adb
+++ b/gdb/testsuite/gdb.ada/null_record.adb
@@ -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
diff --git a/gdb/testsuite/gdb.ada/null_record.exp b/gdb/testsuite/gdb.ada/null_record.exp
index f9afcf7..8e024d6 100644
--- a/gdb/testsuite/gdb.ada/null_record.exp
+++ b/gdb/testsuite/gdb.ada/null_record.exp
@@ -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
}