From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88952 invoked by alias); 26 Aug 2015 19:42:35 -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 88939 invoked by uid 89); 26 Aug 2015 19:42:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 26 Aug 2015 19:42:34 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 1E70B8E74F; Wed, 26 Aug 2015 19:42:33 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7QJgVck007083; Wed, 26 Aug 2015 15:42:32 -0400 Message-ID: <55DE16A7.8060401@redhat.com> Date: Wed, 26 Aug 2015 19:42:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Ulrich Weigand CC: gdb-patches@sourceware.org Subject: Re: Cell multi-arch broken (Re: [PATCH 2/2] GNU/Linux: Stop using libthread_db/td_ta_thr_iter) References: <20150826190157.EE3D939FA@oc7340732750.ibm.com> In-Reply-To: <20150826190157.EE3D939FA@oc7340732750.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00764.txt.bz2 On 08/26/2015 08:01 PM, Ulrich Weigand wrote: > Pedro Alves wrote: >> (Sounds like the testsuite could be improved to better detect this.) > > Yes, I think I'll at least set the test case to UNRESOLVED if > something unexpected happens while attempting to detect whether > we have Cell/B.E. hardware. Sounds good to me. > This is where it triggers for me: > Thanks, I see. >> find_one_thread makes use of td_ta_map_lwp2thr for the >> mapping we're after. >> On the GDB side, the equivalent is linux-thread-db.c:thread_from_lwp. > > Ah, indeed that works for me. The attached patch also fixes the > problem for me. > LGTM. Thanks, Pedro Alves