From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29702 invoked by alias); 24 Aug 2015 17:08:09 -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 29693 invoked by uid 89); 24 Aug 2015 17:08:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 24 Aug 2015 17:08:08 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 24 Aug 2015 18:08:02 +0100 Received: from d06dlp03.portsmouth.uk.ibm.com (9.149.20.15) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 24 Aug 2015 18:08:01 +0100 X-MailFrom: uweigand@de.ibm.com X-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2E25C1B0805F for ; Mon, 24 Aug 2015 18:09:32 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7OH80Wq36896774 for ; Mon, 24 Aug 2015 17:08:00 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7OH80OW004635 for ; Mon, 24 Aug 2015 11:08:00 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-24.boeblingen.de.ibm.com [9.152.213.24]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t7OH80fc004631; Mon, 24 Aug 2015 11:08:00 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id 37C2D1249E; Mon, 24 Aug 2015 19:08:00 +0200 (CEST) Subject: Re: [PATCH] gdbserver: don't pick a random thread if the current thread dies To: palves@redhat.com (Pedro Alves) Date: Mon, 24 Aug 2015 17:08:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <55DB4E28.3000001@redhat.com> from "Pedro Alves" at Aug 24, 2015 06:02:32 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20150824170800.37C2D1249E@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15082417-0041-0000-0000-0000058E83CF X-SW-Source: 2015-08/txt/msg00689.txt.bz2 Pedro Alves wrote: > On 08/24/2015 04:30 PM, Pedro Alves wrote: > > > I guess lwpid_of would be a little better even. > > I went ahead a pushed this bit in, like below. Build-tested on > the gcc110 ppc64 machine on the GCC compile farm. > > The fix for the crash will follow. Thanks! I'll go ahead and run a test on Cell once the fix is in ... Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com