From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33409 invoked by alias); 18 Jul 2017 13:09:35 -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 33392 invoked by uid 89); 18 Jul 2017 13:09:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:static., interest X-HELO: mail-it0-f66.google.com Received: from mail-it0-f66.google.com (HELO mail-it0-f66.google.com) (209.85.214.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Jul 2017 13:09:34 +0000 Received: by mail-it0-f66.google.com with SMTP id 188so2030552itx.0 for ; Tue, 18 Jul 2017 06:09:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=s426FuXiI4IG50egIzPDovssbHEpWXcC0MVXcgyGW7U=; b=MOpbns9ya2G7gi6XaGHAZpmZKbER7VKptS03lyJR4wbUCmss8DIq5/9l36PWqbW6Hz s4MPF6vE6TeunuyZKySByY6EshqKQarkUxg1ZK/8+WRZ3dnMn4uwSmdi/UTCIJPz9iBV fX0o2s3kIH5PpEnDihR/CMBt+dMa2PR70G0K60rUADxLArfyzCK7UgmPMsLKnfj8dTkd kh7v0o11yu5eJX/oON2NdueJNn9vPxqi4E7UyQpPm0MbluEmkjdFMAfJT3EZ0/ciY1lF 3gaCWc1wSVMwXi1cmdOMB9BTOBspTh7rRSqz8LSNiy7GPCkUAotJK0lB70/C/3sDXj+Q OI1w== X-Gm-Message-State: AIVw113RShELmmU0WcO3WyZSxkiteoDyCtrBFLMWMg3h4hqx7p013wVt +VNJs7fV/jPUNCEs X-Received: by 10.36.68.85 with SMTP id o82mr2549756ita.117.1500383372634; Tue, 18 Jul 2017 06:09:32 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id 7sm1202980ioe.26.2017.07.18.06.09.31 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 18 Jul 2017 06:09:32 -0700 (PDT) From: Yao Qi To: "Maciej W. Rozycki" Cc: Alan Hayward , "gdb-patches\@sourceware.org" , nd Subject: Re: [RFC] Replace regcache readonly flag with detached flag References: <8637a0r9mq.fsf@gmail.com> Date: Tue, 18 Jul 2017 13:09:00 -0000 In-Reply-To: (Maciej W. Rozycki's message of "Tue, 18 Jul 2017 13:41:06 +0100") Message-ID: <86r2xdriwm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00253.txt.bz2 "Maciej W. Rozycki" writes: >> I am not sure this replacement is reasonable. The regcache can be >> detached from target, and read-only or read-write. The regcache can be >> attached to target, and read-write. I can't think of a case that >> regcache is attached to target and read-only. > > As a matter of interest: what if the target is `core'? Hmm, it is read-only and attached to the target :-) --=20 Yao (=E9=BD=90=E5=B0=A7)