From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32110 invoked by alias); 7 Jan 2013 11:52:33 -0000 Received: (qmail 32099 invoked by uid 22791); 7 Jan 2013 11:52:32 -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, 07 Jan 2013 11:52:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3547B2E46A for ; Mon, 7 Jan 2013 06:52:27 -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 TJvTSFLPuw7F for ; Mon, 7 Jan 2013 06:52:27 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id C81492E31D for ; Mon, 7 Jan 2013 06:52:26 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 42698C2569; Mon, 7 Jan 2013 15:52:21 +0400 (RET) Date: Mon, 07 Jan 2013 11:52: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: <20130107115221.GB6143@adacore.com> References: <1355743597-15380-1-git-send-email-brobecker@adacore.com> <50E742A1.6040804@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50E742A1.6040804@redhat.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: 2013-01/txt/msg00091.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. [...] > Looks fine to me. Thanks! Checked in. -- Joel