From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 399 invoked by alias); 24 Jul 2013 18:25:34 -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 370 invoked by uid 89); 24 Jul 2013 18:25:33 -0000 X-Spam-SWARE-Status: No, score=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 24 Jul 2013 18:25:33 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6OIPPpp021447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Jul 2013 14:25:25 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6OIPN7R000815; Wed, 24 Jul 2013 14:25:24 -0400 Message-ID: <51F01C13.3080402@redhat.com> Date: Wed, 24 Jul 2013 18:25: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: Hui Zhu CC: gdb-patches ml Subject: Re: [PATCH] Fix PR 12702 - gdb can hang waiting for thread group leader (gdbserver) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00579.txt.bz2 On 07/20/2013 10:59 AM, Hui Zhu wrote: > Hi, > > I got a issue with leader-exit.exp will hang with target_board=native-gdbserver. > I found the reason is gdbserver still have this issue. So I post a > patch for gdbserver. leader-exit.exp is part of a series of tests for a set of related problems. See: http://www.sourceware.org/ml/gdb-patches/2011-10/msg00704.html Several are currently masked because gdbserver doesn't support fork/exec yet. We should fix this by implementing TARGET_WAITKIND_NO_RESUMED on gdbserver, like the patch above did for native. -- Pedro Alves