From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5952 invoked by alias); 9 Sep 2013 16:25:22 -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 5922 invoked by uid 89); 9 Sep 2013 16:25:22 -0000 Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Sep 2013 16:25:22 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: mtaout23.012.net.il Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MSV00N009EK3T00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Mon, 09 Sep 2013 19:24:26 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSV00NJ39KQ3K10@a-mtaout23.012.net.il>; Mon, 09 Sep 2013 19:24:26 +0300 (IDT) Date: Mon, 09 Sep 2013 16:25:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 4/7] Trust readonly sections if target has memory protection In-reply-to: <522D7D6A.6050308@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y576j746.fsf@gnu.org> References: <1378432920-7731-1-git-send-email-yao@codesourcery.com> <1378641807-24256-1-git-send-email-yao@codesourcery.com> <1378641807-24256-5-git-send-email-yao@codesourcery.com> <831u4zl52v.fsf@gnu.org> <522D7D6A.6050308@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00293.txt.bz2 > Date: Mon, 9 Sep 2013 15:48:58 +0800 > From: Yao Qi > CC: > > On 09/08/2013 11:13 PM, Eli Zaretskii wrote: > > Do most of our supported targets have or don't have memory protection? > > How about most native targets? > > Nearly all targets with OS have memory protection, but bare-metal > targets don't. Is there a reasonably easy way of setting the default to YES on all native targets?