diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-01-24 18:25:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-01-24 18:25:06 +0000 |
commit | 7cf03d44ce2b44c88629f4f5b55ca84f015b31d4 (patch) | |
tree | c8cdf9ebba64fd5ec23121fe4c5dd3554d0e8c54 | |
parent | dadcf8010f6107bc9e83da730532c48b795d5393 (diff) | |
download | gdb-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>.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/charset.c | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/dump.c | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/huge.c | 2 |
4 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 90cb99c..8a0e54f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-01-24 Mark Kettenis <kettenis@gnu.org> + + * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include + <string.h>. + 2004-01-24 Nick Roberts <nick@nick.uklinux.net> * gdb.mi/mi-stack.exp: Update copyright. diff --git a/gdb/testsuite/gdb.base/charset.c b/gdb/testsuite/gdb.base/charset.c index ece684a..a7b7123 100644 --- a/gdb/testsuite/gdb.base/charset.c +++ b/gdb/testsuite/gdb.base/charset.c @@ -2,6 +2,7 @@ Jim Blandy <jimb@cygnus.com> --- December 2001 */ #include <stdio.h> +#include <string.h> /* X_string is a null-terminated string in the X charset whose diff --git a/gdb/testsuite/gdb.base/dump.c b/gdb/testsuite/gdb.base/dump.c index 784edf6..bc68778 100644 --- a/gdb/testsuite/gdb.base/dump.c +++ b/gdb/testsuite/gdb.base/dump.c @@ -1,3 +1,5 @@ +#include <string.h> + #define ARRSIZE 32 int intarray[ARRSIZE], intarray2[ARRSIZE]; 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. */ |