From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13018 invoked by alias); 9 Feb 2017 16:46:57 -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 13009 invoked by uid 89); 9 Feb 2017 16:46:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_40,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*u:1.2.3, H*UA:1.2.3, HX-PHP-Originating-Script:rcube.php, soooo X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Feb 2017 16:46:55 +0000 Received: by simark.ca (Postfix, from userid 33) id CD5D71EA0A; Thu, 9 Feb 2017 11:46:53 -0500 (EST) To: Pedro Alves Subject: Re: [PATCH] Fix usage of inferior_ptid in two thread_alive implementations X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 09 Feb 2017 16:46:00 -0000 From: Simon Marchi Cc: Simon Marchi , gdb-patches@sourceware.org In-Reply-To: <0322ea0c-ce96-8b7c-5d2d-0efa87ab71ed@redhat.com> References: <20170207212450.2232-1-simon.marchi@ericsson.com> <0322ea0c-ce96-8b7c-5d2d-0efa87ab71ed@redhat.com> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.3 X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00231.txt.bz2 On 2017-02-08 07:40, Pedro Alves wrote: > On 02/07/2017 09:24 PM, Simon Marchi wrote: >> While inspecting some target code, I noticed that in these two >> implementations of thread_alive, inferior_ptid is referenced directly >> instead of using the ptid passed as parameters. I guess that it is >> wrong, although I can't really test it in both cases. > > I can't test either, but it looks right to me. Soooo.. is this an approval :) ?