From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8298 invoked by alias); 9 Nov 2006 21:25:05 -0000 Received: (qmail 8266 invoked by uid 22791); 9 Nov 2006 21:25:03 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Nov 2006 21:24:57 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-6-2.inter.net.il [84.228.6.2]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GFH12427 (AUTH halo1); Thu, 9 Nov 2006 23:24:53 +0200 (IST) Date: Thu, 09 Nov 2006 21:25:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: gdb-patches@sources.redhat.com In-reply-to: <200611092336.22512.vladimir@codesourcery.com> (message from Vladimir Prus on Thu, 9 Nov 2006 23:36:22 +0300) Subject: Re: Check memory accesses Reply-to: Eli Zaretskii References: <200611092336.22512.vladimir@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00061.txt.bz2 > From: Vladimir Prus > Date: Thu, 9 Nov 2006 23:36:22 +0300 > > This patch makes gdb, when target memory map is available, optionally reject > all memory accesses outside of regions in memory map. The rationale is that: > > 1. It's sometimes better to get error that have the write silently do > nothing or read returning garbase. > > 2. For some targets, accesses to non-existent memory "wedge" them. > > Since memory maps are still rare, this behaviour is enabled only by a new > command. > > OK? This patch introduces a new user command, but doesn't include a patch for the user manual. Please provide one.