aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/huge.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-24 18:25:06 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-24 18:25:06 +0000
commit7cf03d44ce2b44c88629f4f5b55ca84f015b31d4 (patch)
treec8cdf9ebba64fd5ec23121fe4c5dd3554d0e8c54 /gdb/testsuite/gdb.base/huge.c
parentdadcf8010f6107bc9e83da730532c48b795d5393 (diff)
downloadgdb-7cf03d44ce2b44c88629f4f5b55ca84f015b31d4.zip
gdb-7cf03d44ce2b44c88629f4f5b55ca84f015b31d4.tar.gz
gdb-7cf03d44ce2b44c88629f4f5b55ca84f015b31d4.tar.bz2
* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
<string.h>.
Diffstat (limited to 'gdb/testsuite/gdb.base/huge.c')
-rw-r--r--gdb/testsuite/gdb.base/huge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/huge.c b/gdb/testsuite/gdb.base/huge.c
index 419b92c..446bb18 100644
--- a/gdb/testsuite/gdb.base/huge.c
+++ b/gdb/testsuite/gdb.base/huge.c
@@ -2,6 +2,8 @@
* Test GDB's ability to read a very large data object from target memory.
*/
+#include <string.h>
+
/* A value that will produce a target data object large enough to
crash GDB. 0x200000 is big enough on GNU/Linux, other systems may
need a larger number. */