From: Michael Chastain Date: Thu, 26 Aug 2004 15:13:17 +0000 (+0000) Subject: 2004-08-26 Michael Chastain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a2e8882dbd066d959d49f3bacc761948f45407d;p=binutils-gdb.git 2004-08-26 Michael Chastain * gdb.mi/basics.c: Include . * gdb.mi/pthreads.c: Include . * gdb.mi/var-cmd.c: Include . --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d488df1a677..f0cfc404df4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-08-26 Michael Chastain + + * gdb.mi/basics.c: Include . + * gdb.mi/pthreads.c: Include . + * gdb.mi/var-cmd.c: Include . + 2004-08-26 Michael Chastain * gdb.threads/schedlock.c: Add copyright notice. diff --git a/gdb/testsuite/gdb.mi/basics.c b/gdb/testsuite/gdb.mi/basics.c index 30ee698127b..0e3c1d8abfc 100644 --- a/gdb/testsuite/gdb.mi/basics.c +++ b/gdb/testsuite/gdb.mi/basics.c @@ -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 + int callee4 (void) { int A=1; diff --git a/gdb/testsuite/gdb.mi/pthreads.c b/gdb/testsuite/gdb.mi/pthreads.c index 0d8f1b616fc..701dfec8d49 100644 --- a/gdb/testsuite/gdb.mi/pthreads.c +++ b/gdb/testsuite/gdb.mi/pthreads.c @@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */ #include +#include #include /* Under OSF 2.0 & 3.0 and HPUX 10, the second arg of pthread_create diff --git a/gdb/testsuite/gdb.mi/var-cmd.c b/gdb/testsuite/gdb.mi/var-cmd.c index dfd6064600d..2a297d2c02d 100644 --- a/gdb/testsuite/gdb.mi/var-cmd.c +++ b/gdb/testsuite/gdb.mi/var-cmd.c @@ -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 + struct _simple_struct { int integer; unsigned int unsigned_integer;