diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-02-04 23:19:31 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-02-04 23:19:31 +0000 |
commit | f9ba071784c03db0f34a991614e5a7ef9772961e (patch) | |
tree | 846c7001322fd2a7b7514e0758964590e375804f /gdb/memattr.c | |
parent | 911a6141c75874b8aa29defa92c0f1d66565fc4d (diff) | |
download | gdb-f9ba071784c03db0f34a991614e5a7ef9772961e.zip gdb-f9ba071784c03db0f34a991614e5a7ef9772961e.tar.gz gdb-f9ba071784c03db0f34a991614e5a7ef9772961e.tar.bz2 |
2002-02-04 Michael Snyder <msnyder@redhat.com>
* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c index 9dd3dd5..e8eb56a 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -506,7 +506,10 @@ _initialize_mem () { add_com ("mem", class_vars, mem_command, "Define attributes for memory region.\n\ -Usage: mem <lo addr> <hi addr> [<mode> <width> <cache>]"); +Usage: mem <lo addr> <hi addr> [<mode> <width> <cache>], \n\ +where <mode> may be rw (read/write), ro (read-only) or wo (write-only), \n\ + <width> may be 8, 16, 32, or 64, and \n\ + <cache> may be cache or nocache"); add_cmd ("mem", class_vars, mem_enable_command, "Enable memory region.\n\ |