This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb/testsuite/gdb.threads: Make sure TLS tests link against pthreads.
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: tromey at redhat dot com
- Cc: will dot newton at linaro dot org, gdb-patches at sourceware dot org, patches at linaro dot org
- Date: Wed, 17 Jul 2013 21:04:50 +0200 (CEST)
- Subject: Re: [PATCH] gdb/testsuite/gdb.threads: Make sure TLS tests link against pthreads.
- References: <51B22910 dot 7010208 at linaro dot org> <87ip09f3ta dot fsf at fleche dot redhat dot com>
> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 17 Jul 2013 12:18:25 -0600
>
> >>>>> "Will" == Will Newton <will.newton@linaro.org> writes:
>
> Will> int main(void)
> Will> {
> Will> - return 0;
> Will> + return pthread_self();
>
> I think it is possible according to POSIX for pthread_t to be a pointer
> type.
It is on OpenBSD.