2004-08-05 Michael Chastain <mec.gnu@mindspring.com>

* gdb.base/gcore.c: Include <string.h>.
This commit is contained in:
Michael Chastain 2004-08-05 07:44:47 +00:00
parent 1e84bec179
commit dd90efdb05
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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};