From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13003 invoked by alias); 17 Dec 2012 11:33:42 -0000 Received: (qmail 12992 invoked by uid 22791); 17 Dec 2012 11:33:41 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Dec 2012 11:33:33 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EA6571C75CA for ; Mon, 17 Dec 2012 06:33:32 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PGLcb8UdXCEd for ; Mon, 17 Dec 2012 06:33:32 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 86DFA1C75C8 for ; Mon, 17 Dec 2012 06:33:32 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 703E7C2708; Mon, 17 Dec 2012 15:33:18 +0400 (RET) Date: Mon, 17 Dec 2012 11:33:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [commit] LynxOS: Resume the same thread when receiving a thread create/exit event. Message-ID: <20121217113318.GA3273@adacore.com> References: <1355743597-15380-1-git-send-email-brobecker@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1355743597-15380-1-git-send-email-brobecker@adacore.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 X-SW-Source: 2012-12/txt/msg00548.txt.bz2 > gdb/gdbserver/ChangeLog: > > * lynx-low.c (lynx_resume): Use the resume_info parameter > to determine the ptid for the lynx_ptrace call, unless > it is equal to minus_one_ptid, in which case we use the > ptid of the current_inferior. > (lynx_wait_1): After having received a thread create/exit > event, resume the inferior's execution using the signaling > thread's ptid, rather than the old ptid. [...] > Checked in. Actually, the checkin failed, because it depends on: [RFC/commit 3/3] Delete unused variable in lynx_resume http://www.sourceware.org/ml/gdb-patches/2012-12/msg00544.html Resolving the conflict due to the dependency feels like undoing the patch. So I will wait before putting this one in. -- Joel