Re: PATCH: new "void" memory region attribute

Eli Zaretskii
2002-02-14T10:24:55Z

> From: Greg McGary <gkm@kayak.mcgary.org>
> Date: 13 Feb 2002 17:25:52 -0700
>
> --- gdb.texinfo 2002/02/08 00:39:45 1.89
> +++ gdb.texinfo 2002/02/14 00:17:32
> @@ -5642,6 +5642,8 @@ Memory is read only.
> Memory is write only.
> @item rw
> Memory is read/write. This is the default.
> +@item void
> +Memory is inaccessible.
> @end table

This part of the patch is approved, but please add a sentence to
explain what would be the effect of declaring a region `void' on GDB's
operation, from the user's point of view. It strikes me that this
text, from the beginning of your message:

> Add "void" attribute, which disallows both read & write access. This
> useful for guarding holes in a target's address space that cause the
> system to hang when read/written.

is exactly what would make this attribute's effect crystal-clear ;-)