This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Check memory accesses


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]