Use add_partial_symbol in load_partial_dies
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / vforked-prog.c
index 27504db528a8fa783c9991f8c53e3f291119423b..2df4d17b29d1030921d6ca0b7e7526f02958e6d2 100644 (file)
@@ -1,10 +1,23 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+   Copyright 1997-2020 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
 int main (void)
-#else
-main()
-#endif
 {
   printf("Hello from vforked-prog...\n");
   return 0;
This page took 0.024918 seconds and 4 git commands to generate.