aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-08-05 07:44:47 +0000
committerMichael Chastain <mec@google.com>2004-08-05 07:44:47 +0000
commitdd90efdb05f4e2ae728a0a3a1b31e46d575ff236 (patch)
tree37dc8cd10f8fc035cbed89cebacaf9a15846df38 /gdb
parent1e84bec1793f18b1e0b8c699603ee020c45eda50 (diff)
downloadgdb-dd90efdb05f4e2ae728a0a3a1b31e46d575ff236.zip
gdb-dd90efdb05f4e2ae728a0a3a1b31e46d575ff236.tar.gz
gdb-dd90efdb05f4e2ae728a0a3a1b31e46d575ff236.tar.bz2
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/gcore.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5ec61d1..d01a8b9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.base/gcore.c: Include <string.h>.
+
+2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
+
* gdb.base/gcore.c: Add copyright notice.
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
diff --git a/gdb/testsuite/gdb.base/gcore.c b/gdb/testsuite/gdb.base/gcore.c
index 596204e..24de8c7 100644
--- a/gdb/testsuite/gdb.base/gcore.c
+++ b/gdb/testsuite/gdb.base/gcore.c
@@ -1,4 +1,4 @@
-/* Copyright 2002 Free Software Foundation, Inc.
+/* Copyright 2002, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -22,6 +22,7 @@
*/
#include <stdlib.h>
+#include <string.h>
int extern_array[4] = {1, 2, 3, 4};
static int static_array[4] = {5, 6, 7, 8};