From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10946 invoked by alias); 15 Jul 2010 18:47:21 -0000 Received: (qmail 10933 invoked by uid 22791); 15 Jul 2010 18:47:20 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Jul 2010 18:47:14 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6FIlBMX005994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Jul 2010 14:47:11 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6FIlAkl028671; Thu, 15 Jul 2010 14:47:10 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o6FIl9aX007098; Thu, 15 Jul 2010 14:47:09 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 605EC3782A3; Thu, 15 Jul 2010 12:47:09 -0600 (MDT) From: Tom Tromey To: Thiago Jung Bauermann Cc: gdb@sourceware.org Subject: Re: GDB hangs with simple multi-threaded program on linux References: <1279208729.14577.21.camel@hactar> Date: Thu, 15 Jul 2010 18:47:00 -0000 In-Reply-To: (Tom Tromey's message of "Thu, 15 Jul 2010 12:44:32 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00049.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> Roland says we can do better if we enable exit tracing. I see this Tom> in linux-nat.c: Tom> /* Do not enable PTRACE_O_TRACEEXIT until GDB is more prepared to support Tom> read-only process state. */ Tom> I wonder what that means :-) BTW, if you plan to work on this, it is also PR 10970. Tom