2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Thu, 26 Aug 2004 15:13:17 +0000 (15:13 +0000)
committerMichael Chastain <mec@google.com>
Thu, 26 Aug 2004 15:13:17 +0000 (15:13 +0000)
* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/basics.c
gdb/testsuite/gdb.mi/pthreads.c
gdb/testsuite/gdb.mi/var-cmd.c

index d488df1..f0cfc40 100644 (file)
@@ -1,5 +1,11 @@
 2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
 
+       * gdb.mi/basics.c: Include <stdio.h>.
+       * gdb.mi/pthreads.c: Include <stdlib.h>.
+       * gdb.mi/var-cmd.c: Include <stdlib.h>.
+
+2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>
+
        * gdb.threads/schedlock.c: Add copyright notice.
 
 2004-08-25  Andrew Cagney  <cagney@gnu.org>
index 30ee698..0e3c1d8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright 1999, 2000
+/* Copyright 1999, 2000, 2004
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -23,6 +23,8 @@
  *      on function calls.  Useful to test printing frames, stepping, etc.
  */
 
+#include <stdio.h>
+
 int callee4 (void)
 {
   int A=1;
index 0d8f1b6..701dfec 100644 (file)
@@ -24,6 +24,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <pthread.h>
 
 /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create
index dfd6064..2a297d2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright 1999 Free Software Foundation, Inc.
+/* Copyright 1999, 2004 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -17,6 +17,8 @@
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <stdlib.h>
+
 struct _simple_struct {
   int integer;
   unsigned int unsigned_integer;