OSDN Git Service

2002-02-04 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@specifix.com>
Mon, 4 Feb 2002 23:19:31 +0000 (23:19 +0000)
committerMichael Snyder <msnyder@specifix.com>
Mon, 4 Feb 2002 23:19:31 +0000 (23:19 +0000)
* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.

gdb/ChangeLog
gdb/memattr.c

index 7706ca8..7e56550 100644 (file)
@@ -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.
index 9dd3dd5..e8eb56a 100644 (file)
@@ -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\