summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2002-02-04 23:19:31 +0000
committerMichael Snyder <msnyder@specifix.com>2002-02-04 23:19:31 +0000
commit7442a74b41aa33eebb956c451ac84e084e92ee44 (patch)
tree805b3ef10e84ea2a28f9e02214a03e8854574823
parent9924e7c97dc65f236b5528b9c461461bf2ea7b95 (diff)
downloadgdb-7442a74b41aa33eebb956c451ac84e084e92ee44.tar.gz
2002-02-04 Michael Snyder <msnyder@redhat.com>
* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/memattr.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7706ca8c5b0..7e565509a94 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-04 Michael Snyder <msnyder@redhat.com>
+
+ * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
+
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
diff --git a/gdb/memattr.c b/gdb/memattr.c
index 9dd3dd5065c..e8eb56a458b 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\