This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: new "void" memory region attribute
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Greg McGary <gkm at kayak dot mcgary dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 13 Feb 2002 22:23:29 -0500
- Subject: Re: PATCH: new "void" memory region attribute
- References: <msg044zz73.fsf@mcgary.org>
> enum mem_access_mode
> {
> - MEM_RW, /* read/write */
> - MEM_RO, /* read only */
> - MEM_WO /* write only */
> + MEM_VOID = 0,
> + MEM_READ = 1,
> + MEM_WRITE = 2,
> + MEM_RW = MEM_READ | MEM_WRITE,
> };
>
Greg, I'm just wondering why this part change? Wouldn't just adding a
MEM_VOID entry have been easier?
Andrew