aboutsummaryrefslogtreecommitdiff
path: root/gdb/memattr.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-04-30 08:37:23 -0600
committerTom Tromey <tom@tromey.com>2018-05-24 12:29:20 -0600
commit99806209a4f89fc76d338982239ab8c214df4b4d (patch)
tree0a7ad3214daca16424e28e3c6505c2e4d1848bd8 /gdb/memattr.c
parent0cab2f1e91f92130c5e0d89a99ce639ebd8ec1b0 (diff)
downloadgdb-99806209a4f89fc76d338982239ab8c214df4b4d.zip
gdb-99806209a4f89fc76d338982239ab8c214df4b4d.tar.gz
gdb-99806209a4f89fc76d338982239ab8c214df4b4d.tar.bz2
Update memattr.c help strings
This changes memattr.c to use the GNU style for help strings. 2018-04-29 Tom Tromey <tom@tromey.com> * memattr.c (_initialize_mem): Update help string.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r--gdb/memattr.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c
index 8dad38b..eb27a8b 100644
--- a/gdb/memattr.c
+++ b/gdb/memattr.c
@@ -603,28 +603,28 @@ _initialize_mem (void)
Define attributes for memory region or reset memory region handling to\n\
target-based.\n\
Usage: mem auto\n\
- 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"));
+ mem LOW HIGH [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, enable_mem_command, _("\
Enable memory region.\n\
-Arguments are the code numbers of the memory regions to enable.\n\
-Usage: enable mem <code number>...\n\
-Do \"info mem\" to see current list of code numbers."), &enablelist);
+Arguments are the IDs of the memory regions to enable.\n\
+Usage: enable mem [ID]...\n\
+Do \"info mem\" to see current list of IDs."), &enablelist);
add_cmd ("mem", class_vars, disable_mem_command, _("\
Disable memory region.\n\
-Arguments are the code numbers of the memory regions to disable.\n\
-Usage: disable mem <code number>...\n\
-Do \"info mem\" to see current list of code numbers."), &disablelist);
+Arguments are the IDs of the memory regions to disable.\n\
+Usage: disable mem [ID]...\n\
+Do \"info mem\" to see current list of IDs."), &disablelist);
add_cmd ("mem", class_vars, delete_mem_command, _("\
Delete memory region.\n\
-Arguments are the code numbers of the memory regions to delete.\n\
-Usage: delete mem <code number>...\n\
-Do \"info mem\" to see current list of code numbers."), &deletelist);
+Arguments are the IDs of the memory regions to delete.\n\
+Usage: delete mem [ID]...\n\
+Do \"info mem\" to see current list of IDs."), &deletelist);
add_info ("mem", info_mem_command,
_("Memory region attributes"));