From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22394 invoked by alias); 17 Jul 2013 19:05:03 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 22373 invoked by uid 89); 17 Jul 2013 19:05:03 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 17 Jul 2013 19:05:02 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id r6HJ4omk015838; Wed, 17 Jul 2013 21:04:50 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id r6HJ4oSn016742; Wed, 17 Jul 2013 21:04:50 +0200 (CEST) Date: Wed, 17 Jul 2013 19:05:00 -0000 Message-Id: <201307171904.r6HJ4oSn016742@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: tromey@redhat.com CC: will.newton@linaro.org, gdb-patches@sourceware.org, patches@linaro.org In-reply-to: <87ip09f3ta.fsf@fleche.redhat.com> (message from Tom Tromey on Wed, 17 Jul 2013 12:18:25 -0600) Subject: Re: [PATCH] gdb/testsuite/gdb.threads: Make sure TLS tests link against pthreads. References: <51B22910.7010208@linaro.org> <87ip09f3ta.fsf@fleche.redhat.com> X-SW-Source: 2013-07/txt/msg00419.txt.bz2 > From: Tom Tromey > Date: Wed, 17 Jul 2013 12:18:25 -0600 > > >>>>> "Will" == Will Newton 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.