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: Siva Chandra <sivachandra at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 15 Apr 2013 13:42:17 -0700
- 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> <516C0D67 dot 7020307 at redhat dot com> <CAGyQ6gxj-S8VLsYutLaSrhUUHoNFexWF8mxV-LNB7rCQRxTeCA at mail dot gmail dot com> <87vc7nbous dot fsf at fleche dot redhat dot com>
On Mon, Apr 15, 2013 at 12:00 PM, Tom Tromey <tromey@redhat.com> wrote:
> Siva> 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
> Siva> Add option to link testcases with Pthreads library when
> Siva> using 'prepare_for_testing' in tests.
>
> Siva> testsuite/
> Siva> * lib/gdb.exp (build_executable_from_specs): Use
> Siva> gdb_compile_pthreads to compile if option "pthreads" is
> Siva> specified.
>
> This is ok, thanks.
Committed the patch. Thanks for the review.