aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-08-05 07:28:20 +0000
committerMichael Chastain <mec@google.com>2004-08-05 07:28:20 +0000
commite425eb2b8280893bc3635906ee20b47d21ca02f8 (patch)
treea1fe88a41897df9254c9897ffd48133a5df9cbef /gdb
parentcb9aaed5eed5265cd8b9930735c86b980c5f8b84 (diff)
downloadgdb-e425eb2b8280893bc3635906ee20b47d21ca02f8.zip
gdb-e425eb2b8280893bc3635906ee20b47d21ca02f8.tar.gz
gdb-e425eb2b8280893bc3635906ee20b47d21ca02f8.tar.bz2
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/freebpcmd.c: Include <stdio.h>. * gdb.base/long_long.c: Include <string.h>. * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>. * gdb.base/siginfo.c: Include <string.h>. * gdb.base/sigstep.c: Include <string.h>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.base/freebpcmd.c4
-rw-r--r--gdb/testsuite/gdb.base/long_long.c2
-rw-r--r--gdb/testsuite/gdb.base/sigaltstack.c2
-rw-r--r--gdb/testsuite/gdb.base/siginfo.c1
-rw-r--r--gdb/testsuite/gdb.base/sigstep.c1
6 files changed, 17 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bfc8961..e37fe5b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
+
+ * gdb.base/freebpcmd.c: Include <stdio.h>.
+ * gdb.base/long_long.c: Include <string.h>.
+ * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
+ * gdb.base/siginfo.c: Include <string.h>.
+ * gdb.base/sigstep.c: Include <string.h>.
+
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
diff --git a/gdb/testsuite/gdb.base/freebpcmd.c b/gdb/testsuite/gdb.base/freebpcmd.c
index 765e12d..36cbcbe 100644
--- a/gdb/testsuite/gdb.base/freebpcmd.c
+++ b/gdb/testsuite/gdb.base/freebpcmd.c
@@ -1,5 +1,5 @@
/* Test program for GDB crashes while doing bp commands that continue inferior.
- Copyright 2003 Free Software Foundation, Inc.
+ Copyright 2003, 2004 Free Software Foundation, Inc.
This file is part of the gdb testsuite.
@@ -18,6 +18,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <stdio.h>
+
int
main (int argc, char **argv)
{
diff --git a/gdb/testsuite/gdb.base/long_long.c b/gdb/testsuite/gdb.base/long_long.c
index 3cc7c1f..a55cb24 100644
--- a/gdb/testsuite/gdb.base/long_long.c
+++ b/gdb/testsuite/gdb.base/long_long.c
@@ -27,6 +27,8 @@
* cc +e +DA2.0 -g -o long_long long_long.c
*/
+#include <string.h>
+
enum { MAX_BYTES = 16 };
void
diff --git a/gdb/testsuite/gdb.base/sigaltstack.c b/gdb/testsuite/gdb.base/sigaltstack.c
index afcc8fb..b7abc9b 100644
--- a/gdb/testsuite/gdb.base/sigaltstack.c
+++ b/gdb/testsuite/gdb.base/sigaltstack.c
@@ -21,6 +21,8 @@
#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/time.h>
enum level { MAIN, OUTER, INNER, LEAF, NR_LEVELS };
diff --git a/gdb/testsuite/gdb.base/siginfo.c b/gdb/testsuite/gdb.base/siginfo.c
index b2a758b..6303f07 100644
--- a/gdb/testsuite/gdb.base/siginfo.c
+++ b/gdb/testsuite/gdb.base/siginfo.c
@@ -19,6 +19,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <signal.h>
#include <sys/time.h>
diff --git a/gdb/testsuite/gdb.base/sigstep.c b/gdb/testsuite/gdb.base/sigstep.c
index a9e8618..9555bee 100644
--- a/gdb/testsuite/gdb.base/sigstep.c
+++ b/gdb/testsuite/gdb.base/sigstep.c
@@ -19,6 +19,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <signal.h>
#include <sys/time.h>