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: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Philipp Rudo <prudo at linux dot vnet dot ibm dot com>
- Date: Tue, 30 Aug 2016 17:08:57 +0200
- Subject: Re: [PATCH] Fix order of inferiors in "thread apply all"
- Authentication-results: sourceware.org; auth=none
- References: <m3twe2mihn.fsf@oc1027705133.ibm.com> <a0d903f1-445b-5b60-de7f-5581c215ba38@redhat.com>
On Tue, Aug 30 2016, Pedro Alves wrote:
> 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, pushed.
--
Andreas