From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WIxmK52QhF/cbwAAWB0awg (envelope-from ) for ; Mon, 12 Oct 2020 13:21:33 -0400 Received: by simark.ca (Postfix, from userid 112) id A2C801EF6F; Mon, 12 Oct 2020 13:21:33 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,MAILING_LIST_MULTI, RCVD_IN_BL_SPAMCOP_NET,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 4502D1E58C for ; Mon, 12 Oct 2020 13:21:33 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AA7E4386F001; Mon, 12 Oct 2020 17:21:32 +0000 (GMT) Received: from gateway34.websitewelcome.com (gateway34.websitewelcome.com [192.185.149.222]) by sourceware.org (Postfix) with ESMTPS id 7AD0E386F001 for ; Mon, 12 Oct 2020 17:21:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7AD0E386F001 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway34.websitewelcome.com (Postfix) with ESMTP id CAD7F2B949E3 for ; Mon, 12 Oct 2020 12:21:28 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id S1VokuTpcBD8bS1VokusYc; Mon, 12 Oct 2020 12:21:28 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/Oxr0B4YtZfLUAGq9qFvpEXaEOrLpw+eYHAUS/ZV/O0=; b=Kt5Ej2SFxo+xDjDlKTz/dg5iRH sYBjn+cFozyfrC3/ihNg0/D4Z9fgyIsrci6tOIHZMwMEc8yaOIgy1P/c0PxZRkJHvLfeQ5LX4ZGJh 2zt69Z9A3H1rFy1xjihzlalO9; Received: from 174-16-122-38.hlrn.qwest.net ([174.16.122.38]:34128 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kS1Vo-001rSC-BS; Mon, 12 Oct 2020 11:21:28 -0600 From: Tom Tromey To: Pedro Alves via Gdb-patches Subject: Re: [PATCH 7/7] Reset Windows hardware breakpoints on executable's entry point References: <20200525185659.59346-1-ssbssa@yahoo.de> <20200525185659.59346-8-ssbssa@yahoo.de> X-Attribution: Tom Date: Mon, 12 Oct 2020 11:21:27 -0600 In-Reply-To: (Pedro Alves via Gdb-patches's message of "Sun, 31 May 2020 17:37:57 +0100") Message-ID: <87mu0r742w.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 174.16.122.38 X-Source-L: No X-Exim-ID: 1kS1Vo-001rSC-BS X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 174-16-122-38.hlrn.qwest.net (murgatroyd) [174.16.122.38]:34128 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pedro Alves Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" >>>>> "Pedro" == Pedro Alves via Gdb-patches writes: >> +/* Per-inferior data key. */ >> +static const struct inferior_key windows_inferior_data; Pedro> This should be program_space_key / per-program_space data, instead of Pedro> per-inferior data. I didn't really read this patch, but couldn't this also use inferior::priv? That seems to be what remote.c and darwin-nat.c do for data that is target-specific but also related to a particular inferior. Tom