diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/gcore.c | 3 |
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}; |