From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4785 invoked by alias); 6 Sep 2013 13:00:02 -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 4764 invoked by uid 89); 6 Sep 2013 13:00:02 -0000 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 06 Sep 2013 13:00:02 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 700F81163B0; Fri, 6 Sep 2013 09:00:10 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Js8TvduLTlgb; Fri, 6 Sep 2013 09:00:10 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 493B811627F; Fri, 6 Sep 2013 09:00:10 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id A0D43E2D1C; Fri, 6 Sep 2013 05:59:58 -0700 (PDT) Date: Fri, 06 Sep 2013 13:00:00 -0000 From: Joel Brobecker To: Yao Qi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 0/3] Trust readonly sections if target has memory protection Message-ID: <20130906125958.GD3001@adacore.com> References: <1378432920-7731-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1378432920-7731-1-git-send-email-yao@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-09/txt/msg00226.txt.bz2 > 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. Do you know which ancient versions of Windows are we talking about? If known, we could document that somewhere in the code, allowing us to also enable it on Windows when we decide to stop supporting those versions. -- Joel