From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117761 invoked by alias); 20 Jan 2020 15:28:15 -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 117752 invoked by uid 89); 20 Jan 2020 15:28:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Jan 2020 15:28:05 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 00KFRpHN028557 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Jan 2020 10:27:56 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 00KFRpHN028557 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1579534081; bh=c8bi8oIbNC6RS/gflzbNRfu4alLCkQcArUvS8vbZH7U=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=W3dUd0uYF22v60PGT8wcqiP7gEIyAhQJ95eiGgbEF2dy7RO5mDmbq7o2otbEh9sqM CZiT4OYBsUU8XNuq6gZxQF06EaP7Y9b+fUoh9UNBQiYdaqUw5eNDBjUx3NaaNHzZ8/ 3YYhDFq0uTIim2neBoVOUdeGNAcPKPWjNFWIMSJw= Received: from [10.0.0.11] (unknown [192.222.164.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 683101E47D; Mon, 20 Jan 2020 10:27:51 -0500 (EST) Subject: Re: [PATCH] sim: don't rely on inferior_ptid in gdbsim_target::wait To: Pedro Alves , Andrew Burgess Cc: gdb-patches@sourceware.org References: <20200119035557.5975-1-simon.marchi@polymtl.ca> <20200119211217.GE3865@embecosm.com> <25d128db-0f20-b812-a4e9-dbdc183986a2@redhat.com> From: Simon Marchi Message-ID: <3689d3ab-2df1-847d-38f6-3654d421edf7@polymtl.ca> Date: Mon, 20 Jan 2020 15:48:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <25d128db-0f20-b812-a4e9-dbdc183986a2@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00608.txt.bz2 On 2020-01-20 10:13 a.m., Pedro Alves wrote: > Thanks for doing this. This was a recent assertion I added with > the multi-target work. It's possibly (and likely) that other ports > will need similar adjustments, but it's hard to tell with actually > running into the issue. For the record, this commit [1] helped me understand that this was expected, and that not using inferior_ptid was indeed the right fix. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=e7af6c702da7a77529afdeffbbe6e13639beb441 Simon