This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Check memory accesses
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 09 Nov 2006 23:24:53 +0200
- Subject: Re: Check memory accesses
- References: <200611092336.22512.vladimir@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Vladimir Prus <vladimir@codesourcery.com>
> 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.