From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16815 invoked by alias); 29 Jun 2009 20:03:40 -0000 Received: (qmail 16807 invoked by uid 22791); 29 Jun 2009 20:03:40 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 20:03:33 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 972D6108CC; Mon, 29 Jun 2009 20:03:31 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 3CD75108B0; Mon, 29 Jun 2009 20:03:31 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MLN4c-0003QS-CP; Mon, 29 Jun 2009 16:03:30 -0400 Date: Mon, 29 Jun 2009 20:03:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Jacob Potter , gdb-patches@sourceware.org Subject: Re: [RFA] Rewrite data cache and use for stack access. Message-ID: <20090629200330.GA13146@caradoc.them.org> Mail-Followup-To: Michael Snyder , Jacob Potter , gdb-patches@sourceware.org References: <7e6c8d660906291200r164b3c7l95376866122e86fb@mail.gmail.com> <20090629193230.GA8840@caradoc.them.org> <4A491C7B.5060306@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A491C7B.5060306@vmware.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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 X-SW-Source: 2009-06/txt/msg00846.txt.bz2 On Mon, Jun 29, 2009 at 12:56:43PM -0700, Michael Snyder wrote: > Daniel Jacobowitz wrote: > > >The other especially useful place is code analysis. If code accesses > >were marked appropriately, we could redirect them straight to the > >executable (mild risk, see my recent conversation with Pedro about > >fix-and-continue style patching) or to the data cache (almost no > >risk). > > By the way, we can already redirect them to the executable > by using "set trust-readonly-sections". Right, but higher risk. Like the existing data cache, that changes GDB behavior based on the address being accessed; Jacob's work changes behavior based on the intention of the access. -- Daniel Jacobowitz CodeSourcery