diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-30 08:37:22 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-24 12:29:20 -0600 |
commit | 0cab2f1e91f92130c5e0d89a99ce639ebd8ec1b0 (patch) | |
tree | cfa57ac397b3cf1b15ad31c862b79c1d85f4d942 /gdb | |
parent | 784e4b3e80c1093203ae1a0da33be7a670942713 (diff) | |
download | gdb-0cab2f1e91f92130c5e0d89a99ce639ebd8ec1b0.zip gdb-0cab2f1e91f92130c5e0d89a99ce639ebd8ec1b0.tar.gz gdb-0cab2f1e91f92130c5e0d89a99ce639ebd8ec1b0.tar.bz2 |
Update core-related help strings
This updates some help strings in corefile.c and gcore.c.
2018-04-27 Tom Tromey <tom@tromey.com>
* corefile.c (_initialize_core): Update help string.
* gcore.c (_initialize_gcore): Update help string.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/corefile.c | 1 | ||||
-rw-r--r-- | gdb/gcore.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c index 06b2686..5f66ead 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -485,6 +485,7 @@ _initialize_core (void) c = add_cmd ("core-file", class_files, core_file_command, _("\ Use FILE as core dump for examining memory and registers.\n\ +Usage: core-file FILE\n\ No arg means have no core file. This command has been superseded by the\n\ `target core' and `detach' commands."), &cmdlist); set_cmd_completer (c, filename_completer); diff --git a/gdb/gcore.c b/gdb/gcore.c index 5ff4e6d..c538100 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -611,7 +611,8 @@ _initialize_gcore (void) { add_com ("generate-core-file", class_files, gcore_command, _("\ Save a core file with the current state of the debugged process.\n\ -Argument is optional filename. Default filename is 'core.<process_id>'.")); +Usage: generate-core-file [FILENAME]\n\ +Argument is optional filename. Default filename is 'core.PROCESS_ID'.")); add_com_alias ("gcore", "generate-core-file", class_files, 1); } |