From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7070 invoked by alias); 6 Sep 2013 14:38:15 -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 7058 invoked by uid 89); 6 Sep 2013 14:38:14 -0000 Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Sep 2013 14:38:14 +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: mtaout20.012.net.il Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MSP00100KGO0I00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 06 Sep 2013 17:38:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSP000YGKNNS270@a-mtaout20.012.net.il>; Fri, 06 Sep 2013 17:38:11 +0300 (IDT) Date: Fri, 06 Sep 2013 14:38:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 0/3] Trust readonly sections if target has memory protection In-reply-to: <"000d01ceab0b$d53ae600$7fb0b200$@muller"@ics-cnrs.unistra.fr> To: Pierre Muller Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <831u52m2wk.fsf@gnu.org> References: <1378432920-7731-1-git-send-email-yao@codesourcery.com> <83txhymr02.fsf@gnu.org> <522990FF.30608@codesourcery.com> <83mwnqmj8f.fsf@gnu.org> <20130906130332.GE3001@adacore.com> <8361uem5yv.fsf@gnu.org> <"000d01ceab0b$d53ae600$7fb0b200$@muller"@ics-cnrs.unistra.fr> X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00239.txt.bz2 > From: "Pierre Muller" > Date: Fri, 6 Sep 2013 16:17:34 +0200 > > I have a question: > if Windows OS is supposed to support memory protection, > then why is it allowed to set software interrupts? What do you mean by "set software interrupts", in the context of Windows debugging? > We do overwrite the .text section of the debuggee to do this, no? I don't think so, but maybe I misunderstand what you mean.