From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2466 invoked by alias); 4 Mar 2014 14:25:00 -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 2454 invoked by uid 89); 4 Mar 2014 14:24:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 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; Tue, 04 Mar 2014 14:24:59 +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 (8.14.4/8.14.4) with ESMTP id s24EOtt5022935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Mar 2014 09:24:56 -0500 Received: from barimba (ovpn-113-183.phx2.redhat.com [10.3.113.183]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s24EOsDf017985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 4 Mar 2014 09:24:54 -0500 From: Tom Tromey To: Pedro Alves 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> Date: Tue, 04 Mar 2014 14:25:00 -0000 In-Reply-To: <5314AFEA.8020705@redhat.com> (Pedro Alves's message of "Mon, 03 Mar 2014 16:38:02 +0000") Message-ID: <87y50q9h3e.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-03/txt/msg00066.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Does multi-threading support work when debugging live programs? Nope. I dug into this a bit and after a git bisect -- thanks once again to IBM for gcc111, quite a nice machine -- I'm sorry to report that the AIX solib rewrite seems to have broken thread debugging there. 0c4f667cfe5118bf3a2690502a9a40ff3309abed works: (gdb) info thr Id Target Id Frame * 3 Thread 258 (tid 97976507, running) zzqstart (arg=0x0) at /home/tromey/ct.c:29 2 Thread 1 (tid 68026611, sleeping) 0x00000000 in ?? () 1 process 38404336 zzqstart (arg=0x0) at /home/tromey/ct.c:29 I couldn't try 4d1eb6b4d299f3e46aab18e08fe4ef3063a39565 because I didn't build with the expat support (and this revision introduced a build failure in this scenario), but 814a3ff71b0e90f67eb9003ca37fa90094204152 (which fixed the build problem) does this for the same program, stopped at the same spot: (gdb) info thr Id Target Id Frame * 1 process 918250 zzqstart (arg=0x0) at /home/tromey/ct.c:29 CCing Joel. Tom