This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix order of inferiors in "thread apply all"
- From: Pedro Alves <palves at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org
- Cc: Philipp Rudo <prudo at linux dot vnet dot ibm dot com>
- Date: Tue, 30 Aug 2016 15:44:50 +0100
- Subject: Re: [PATCH] Fix order of inferiors in "thread apply all"
- Authentication-results: sourceware.org; auth=none
- References: <m3twe2mihn.fsf@oc1027705133.ibm.com>
On 08/30/2016 03:36 PM, Andreas Arnez wrote:
> This inserts missing parentheses in the calculation of the comparison
> result between two different inferior numbers. The problem was found by
> Philipp Rudo.
Whoops.
>
> gdb/ChangeLog:
>
> * thread.c (tp_array_compar): Insert missing parentheses.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.multi/tids.exp: Test "thread apply all".
OK.
Thanks,
Pedro Alves