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.


On 17 July 2013 19:18, Tom Tromey <tromey@redhat.com> wrote:
>
> >>>>> "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 seems like it would be safer to just use a call to
> pthread_testcancel in all these tests.

Yes, that's true. I'll respin the patch, thanks for the review!


--
Will Newton
Toolchain Working Group, Linaro


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