From a09a106a213af3398f802c36e0975cd66bffaaa8 Mon Sep 17 00:00:00 2001 From: msnyder Date: Mon, 4 Feb 2002 23:19:30 +0000 Subject: [PATCH] 2002-02-04 Michael Snyder * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. --- gdb/ChangeLog | 4 ++++ gdb/memattr.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7706ca8c5b..7e565509a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-02-04 Michael Snyder + + * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. + 2002-02-04 Daniel Jacobowitz * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. diff --git a/gdb/memattr.c b/gdb/memattr.c index 9dd3dd5065..e8eb56a458 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 [ ]"); +Usage: mem [ ], \n\ +where may be rw (read/write), ro (read-only) or wo (write-only), \n\ + may be 8, 16, 32, or 64, and \n\ + may be cache or nocache"); add_cmd ("mem", class_vars, mem_enable_command, "Enable memory region.\n\ -- 2.11.0