From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11727 invoked by alias); 6 Sep 2013 05:57:45 -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 11718 invoked by uid 89); 6 Sep 2013 05:57:45 -0000 Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Sep 2013 05:57:45 +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: mtaout21.012.net.il Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MSO00100WCWS200@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Fri, 06 Sep 2013 08:57:42 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSO001NOWK6LM80@a-mtaout21.012.net.il>; Fri, 06 Sep 2013 08:57:42 +0300 (IDT) Date: Fri, 06 Sep 2013 05:57:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 0/3] Trust readonly sections if target has memory protection In-reply-to: <1378432920-7731-1-git-send-email-yao@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83txhymr02.fsf@gnu.org> References: <1378432920-7731-1-git-send-email-yao@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00199.txt.bz2 > From: Yao Qi > Date: Fri, 6 Sep 2013 10:01:57 +0800 > > This patch series only teach GDB to trust readonly sections on > GNU/Linux targets. Some ancient Windows targets don't have memory > protection, so we can't let GDB to rust readoly sections on mingw > and cygwin target. Which "ancient" Windows versions are those? Can't we decide at run time whether to trust read-only sections, by looking at the Windows version?