aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-11-02 17:59:13 +0000
committerPedro Alves <palves@redhat.com>2012-11-02 17:59:13 +0000
commit19378a72b700bb305def04e3923fe423a7d8a609 (patch)
tree4ffb72ab89522f3f8ad2a50a745c7a2be1276791 /gdb/testsuite/gdb.base
parent6dbc89975ec5436e2132a79412651ade6e465bdb (diff)
downloadfsf-binutils-gdb-19378a72b700bb305def04e3923fe423a7d8a609.zip
fsf-binutils-gdb-19378a72b700bb305def04e3923fe423a7d8a609.tar.gz
fsf-binutils-gdb-19378a72b700bb305def04e3923fe423a7d8a609.tar.bz2
2012-11-02 Pedro Alves <palves@redhat.com>
* gdb.base/foll-vfork.c: Add copyright header. * gdb.base/vforked-prog.c: Add copyright header.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/foll-vfork.c17
-rw-r--r--gdb/testsuite/gdb.base/vforked-prog.c17
2 files changed, 34 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/foll-vfork.c b/gdb/testsuite/gdb.base/foll-vfork.c
index 3c7fab5..3bb37ad 100644
--- a/gdb/testsuite/gdb.base/foll-vfork.c
+++ b/gdb/testsuite/gdb.base/foll-vfork.c
@@ -1,3 +1,20 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 1997, 1999, 2007-2012 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 3 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, see <http://www.gnu.org/licenses/>. */
+
#include <stdio.h>
#include <unistd.h>
diff --git a/gdb/testsuite/gdb.base/vforked-prog.c b/gdb/testsuite/gdb.base/vforked-prog.c
index 27504db..6fffe5f 100644
--- a/gdb/testsuite/gdb.base/vforked-prog.c
+++ b/gdb/testsuite/gdb.base/vforked-prog.c
@@ -1,3 +1,20 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 1997, 1999, 2007-2012 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 3 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, see <http://www.gnu.org/licenses/>. */
+
#include <stdio.h>
#ifdef PROTOTYPES