2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
This commit is contained in:
parent
1e84bec179
commit
dd90efdb05
|
@ -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>
|
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* gdb.base/gcore.c: Add copyright notice.
|
* gdb.base/gcore.c: Add copyright notice.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright 2002 Free Software Foundation, Inc.
|
/* Copyright 2002, 2004 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int extern_array[4] = {1, 2, 3, 4};
|
int extern_array[4] = {1, 2, 3, 4};
|
||||||
static int static_array[4] = {5, 6, 7, 8};
|
static int static_array[4] = {5, 6, 7, 8};
|
||||||
|
|
Loading…
Reference in New Issue