GNU gdb (GDB) 7.9.50.20150304-cvs s390x-ibm-linux-gnu GIT commit: bb3d65e427e2cf3a2fbe322443d36336e03545da
Pedro Alves
palves@redhat.com
Wed Mar 4 09:15:00 GMT 2015
On 03/04/2015 07:42 AM, Andreas Krebbel wrote:
> gdb compile failed, /gdb/testsuite/gdb.threads/clone-thread_db.c: In function 'main':
> /gdb/testsuite/gdb.threads/clone-thread_db.c:67:3: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration]
> alarm (300);
> ^
> /gdb/testsuite/gdb.threads/clone-thread_db.c:69:3: warning: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration]
> pthread_create (&child, NULL, thread_fn, NULL);
> ^
> /gdb/testsuite/gdb.threads/clone-thread_db.c:70:3: warning: implicit declaration of function 'pthread_join' [-Wimplicit-function-declaration]
> pthread_join (child);
> ^
FYI, this should be fixed now:
https://sourceware.org/ml/gdb-patches/2015-03/msg00117.html
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list