This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][testsuite] Add option to link testcases with pthreads when using 'prepare_for_testing'
- From: Pedro Alves <palves at redhat dot com>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 15 Apr 2013 15:23:35 +0100
- Subject: Re: [RFC][testsuite] Add option to link testcases with pthreads when using 'prepare_for_testing'
- References: <CAGyQ6gyQ8+Txgam=W9+PCdFP1Uy_VHJrK3JM2pL=ZwpYVqjedA at mail dot gmail dot com> <8761zrfox7 dot fsf at fleche dot redhat dot com> <CAGyQ6gx2aLH2_jGAB8e0_EwmCiypepq9EXn4mC6jp4ahZ+BiTg at mail dot gmail dot com>
On 04/15/2013 02:36 PM, Siva Chandra wrote:
> ChangeLog
> 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
>
> Add option to link testcases with Pthreads library when
> using 'prepare_for_testing' in tests.
Super nit, but do we need "with_" ? We don't say "with_debug" or
"with_nowarnings" either. I'd suggest just "pthread". Singular, as
GNU uses -pthread / -lpthread.
Thanks,
--
Pedro Alves