From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20221 invoked by alias); 5 Mar 2014 00:14:51 -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 20209 invoked by uid 89); 5 Mar 2014 00:14:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_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 ESMTP; Wed, 05 Mar 2014 00:14:49 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s250Ek8f012113 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Mar 2014 19:14:46 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s250Ehbo010599; Tue, 4 Mar 2014 19:14:44 -0500 Message-ID: <53166C73.2070308@redhat.com> Date: Wed, 05 Mar 2014 00:14:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Tom Tromey CC: gdb-patches@sourceware.org, Joel Brobecker Subject: Re: [RFC v2] fix regressions with target-async References: <1393609699-26407-1-git-send-email-tromey@redhat.com> <5310D2F9.2090507@redhat.com> <87mwh7cks4.fsf@fleche.redhat.com> <5314AFEA.8020705@redhat.com> <87y50q9h3e.fsf@fleche.redhat.com> <531644AE.1070404@redhat.com> In-Reply-To: <531644AE.1070404@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-03/txt/msg00098.txt.bz2 On 03/04/2014 09:25 PM, Pedro Alves wrote: > On 03/04/2014 02:24 PM, Tom Tromey wrote: > >> I couldn't try 4d1eb6b4d299f3e46aab18e08fe4ef3063a39565 because I didn't >> build with the expat support > > Well, that sounds like the problem right there. expat support is _mandatory_ > for shared library support on AIX. The TARGET_OBJECT_LIBRARIES_AIX target > object is xml. > Confirmed, building with expat makes threaded debugging work: $ ./gdb ~/CT GNU gdb (GDB) 7.7.50.20140304-cvs (...) Reading symbols from /home/tromey/CT...done. (gdb) start Temporary breakpoint 1 at 0x10000634: file /home/tromey/ct.c, line 37. Starting program: /home/tromey/CT [New Thread 1] [Switching to Thread 1] Temporary breakpoint 1, main () at /home/tromey/ct.c:37 37 thread0 = pthread_self (); (gdb) info threads Id Target Id Frame * 2 Thread 1 (tid 18285219, running) main () at /home/tromey/ct.c:37 1 process 44237024 main () at /home/tromey/ct.c:37 (gdb) (You can find an expat build at ~palves:/home/palves/opt/) -- Pedro Alves