aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/attachstop-mt.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-01 15:39:13 +0000
committerPierre Muller <muller@sourceware.org>2009-10-01 15:39:13 +0000
commit209f53f5248aa219cad6261bdd6622c804c485e9 (patch)
tree39c913ffec07d37954d444ff2588edd8b24dbaeb /gdb/testsuite/gdb.threads/attachstop-mt.c
parent9f32dd5b5aa7d0e60941aa7c33573afede6277bf (diff)
downloadbinutils-209f53f5248aa219cad6261bdd6622c804c485e9.zip
binutils-209f53f5248aa219cad6261bdd6622c804c485e9.tar.gz
binutils-209f53f5248aa219cad6261bdd6622c804c485e9.tar.bz2
* gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
long type. (test_unlink): Correct printf string. * gdb.base/checkpoint.c (main): Correct fprintf string for variable i. * gdb.threads/attachstop-mt.c: Add #include <string.h>.
Diffstat (limited to 'gdb/testsuite/gdb.threads/attachstop-mt.c')
-rw-r--r--gdb/testsuite/gdb.threads/attachstop-mt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/attachstop-mt.c b/gdb/testsuite/gdb.threads/attachstop-mt.c
index fa77c9a..061411a 100644
--- a/gdb/testsuite/gdb.threads/attachstop-mt.c
+++ b/gdb/testsuite/gdb.threads/attachstop-mt.c
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <pthread.h>
#include <stdio.h>
+#include <string.h>
/* Red Hat BZ PR 197584.c */