From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52371 invoked by alias); 27 Oct 2017 09:31:59 -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 52180 invoked by uid 89); 27 Oct 2017 09:31:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:695, H*r:sk:static. X-HELO: mail-wr0-f196.google.com Received: from mail-wr0-f196.google.com (HELO mail-wr0-f196.google.com) (209.85.128.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Oct 2017 09:31:56 +0000 Received: by mail-wr0-f196.google.com with SMTP id o44so5586728wrf.11 for ; Fri, 27 Oct 2017 02:31:56 -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:subject:date:message-id:in-reply-to :references; bh=v4I2v7oBPmMwOVFJNJBBg44Z/Kbbd4oUSyZJBwdH+LU=; b=ubEUuk1sYkj1+ae3XZGrfESGFJ1olqZDDlm6+w0BGh10qfAAYmG/3pHEzHK6n/jQkZ J5q+HZIIRawkQBg6C+AL1BNpKcGIKPLxP3v9LmZNZe3flm9YvWwJtOP+8GU+iLIvUVAi JT0+9gkyaOMn52SW2h/ezJEGf58LlHHyDt+z6b6OQWj/46RflQok7hLkPcDaWUBwQ5ng WxFgAtFoLGW3pcAfe0tBDEYZcS52sg5fCkgT/TuO3EsC7JG4LdpkZ0vpunz+WDsVm7+v RTk0d0pCeDczNMk5+yl0eVSrbxPgYEoOWgnuxN1k1mpDQNiq5U4yfPBmONcP5oaU0XFw 7jAQ== X-Gm-Message-State: AMCzsaUnwcMCsyx3KxQyOpIjfcO1Qy/SSw9F5wORA7/vHXHlLtlPSGWo GyFXhLSDQ/yMWgqZosH/nuM7SQ== X-Google-Smtp-Source: ABhQp+Ta5S33VSxW1nvxp7MqgUgVWhInjfQRlQpyVe71LDKz/9mukt7aI80yYT0UWrCR6EUFe6k+IA== X-Received: by 10.223.163.22 with SMTP id c22mr7603298wrb.73.1509096714146; Fri, 27 Oct 2017 02:31:54 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id r29sm10349378wra.71.2017.10.27.02.31.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Oct 2017 02:31:53 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 7/8] const-fy regcache::m_readonly_p Date: Fri, 27 Oct 2017 09:32:00 -0000 Message-Id: <1509096702-12202-8-git-send-email-yao.qi@linaro.org> In-Reply-To: <1509096702-12202-1-git-send-email-yao.qi@linaro.org> References: <1509096702-12202-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00846.txt.bz2 gdb: 2017-10-23 Yao Qi * regcache.h (regcache) : Change it to const bool. --- gdb/regcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/regcache.h b/gdb/regcache.h index be87af5..98cb095 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -376,7 +376,7 @@ private: cache can only be updated via the methods regcache_dup() and regcache_cpy(). The actual contents are determined by the reggroup_save and reggroup_restore methods. */ - bool m_readonly_p; + const bool m_readonly_p; /* If this is a read-write cache, which thread's registers is it connected to? */ ptid_t m_ptid; -- 1.9.1