From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17528 invoked by alias); 29 Sep 2013 13:51:08 -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 17516 invoked by uid 89); 29 Sep 2013 13:51:07 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 29 Sep 2013 13:51:07 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_00,GARBLED_BODY,RDNS_NONE,SPF_HELO_FAIL autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1VQHOp-00016c-Ke from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Sun, 29 Sep 2013 06:51:03 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 29 Sep 2013 06:51:03 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Sun, 29 Sep 2013 06:51:02 -0700 Message-ID: <5248302F.4080901@codesourcery.com> Date: Sun, 29 Sep 2013 13:51:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: Re: [PATCH 0/7 V3] Trust readonly sections if target has memory protection References: <1378641807-24256-1-git-send-email-yao@codesourcery.com> <1379645226-8719-1-git-send-email-yao@codesourcery.com> In-Reply-To: <1379645226-8719-1-git-send-email-yao@codesourcery.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00991.txt.bz2 On 09/20/2013 10:46 AM, Yao Qi wrote: > Here is the V3, to address two comments to V2. > > - Give a yes-or-no query when read-only address is modified and > trust-readonly-sections is on. See patch 1/7. A test case > gdb.base/trust-readonly.exp is added too. > - Enable trust-readonly-sections on all linux and windows targets > for remote debugging only. It is different from what I proposed, > {x86, x86_64}-{linux,mingw,cygwin}, because it looks odd to enable > this feature only on x86*-linux targets and disable it on the rest of > linux targets. See patch 4/7. > > Patch 2/7, 3/7, 6/7 and 7/7 are unchanged. Since the condition on > trusting readonly-sections is restricted (only on remote debugging), > so the doc (patch 5/7) is updated as well. Ping. https://sourceware.org/ml/gdb-patches/2013-09/msg00714.html -- Yao (齐尧)