This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb/testsuite/gdb.threads: Make sure TLS tests link against pthreads.


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]