From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63290 invoked by alias); 30 Aug 2016 15:09:06 -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 62999 invoked by uid 89); 30 Aug 2016 15:09:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,RCVD_IN_SEMBACKSCATTER autolearn=no version=3.3.2 spammy=Hx-languages-length:531, H*m:fsf X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Aug 2016 15:09:04 +0000 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u7UF3miZ025870 for ; Tue, 30 Aug 2016 11:09:03 -0400 Received: from e06smtp06.uk.ibm.com (e06smtp06.uk.ibm.com [195.75.94.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 255364j6qv-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 30 Aug 2016 11:09:03 -0400 Received: from localhost by e06smtp06.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 30 Aug 2016 16:09:01 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp06.uk.ibm.com (192.168.101.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 30 Aug 2016 16:08:58 +0100 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: arnez@linux.vnet.ibm.com X-IBM-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 0A64017D8056 for ; Tue, 30 Aug 2016 16:10:47 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u7UF8w1r3277242 for ; Tue, 30 Aug 2016 15:08:58 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u7UF8vAA032583 for ; Tue, 30 Aug 2016 09:08:57 -0600 Received: from oc1027705133.ibm.com (dyn-9-152-212-133.boeblingen.de.ibm.com [9.152.212.133]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u7UF8vJo032553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Aug 2016 09:08:57 -0600 From: Andreas Arnez To: Pedro Alves Cc: gdb-patches@sourceware.org, Philipp Rudo Subject: Re: [PATCH] Fix order of inferiors in "thread apply all" References: Date: Tue, 30 Aug 2016 15:09:00 -0000 In-Reply-To: (Pedro Alves's message of "Tue, 30 Aug 2016 15:44:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16083015-0024-0000-0000-0000020D5A0E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16083015-0025-0000-0000-0000202D17D6 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-08-30_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608300146 X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00301.txt.bz2 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