summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/multi-forks.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-01-15 19:07:33 +0000
committerDaniel Jacobowitz <drow@false.org>2006-01-15 19:07:33 +0000
commit9078e6905b6bcc4508e3ec2da6a5430209555f27 (patch)
tree479e641710e08b9fb75d5b8d91e0c3260d563d13 /gdb/testsuite/gdb.base/multi-forks.c
parent1dce6535d8b8f62ba51b1e7915146d12b1332bf8 (diff)
* gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
* gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped function name.
Diffstat (limited to 'gdb/testsuite/gdb.base/multi-forks.c')
-rw-r--r--gdb/testsuite/gdb.base/multi-forks.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/multi-forks.c b/gdb/testsuite/gdb.base/multi-forks.c
index 206106768a..be064f6cca 100644
--- a/gdb/testsuite/gdb.base/multi-forks.c
+++ b/gdb/testsuite/gdb.base/multi-forks.c
@@ -1,3 +1,23 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2005, 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA,
+ 02110-1301, USA. */
+
+#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>