diff options
author | Tom Tromey <tromey@adacore.com> | 2024-06-10 10:05:46 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-11-11 07:44:45 -0700 |
commit | ada6f4701b896924ef8026c2b9a5d36c5be36643 (patch) | |
tree | c7ba7402b99c381967a163a8347b3289e1310d75 | |
parent | 9f7ed4d5cad3e85bd2b46118cd6eff2e58908f0a (diff) | |
download | gdb-ada6f4701b896924ef8026c2b9a5d36c5be36643.zip gdb-ada6f4701b896924ef8026c2b9a5d36c5be36643.tar.gz gdb-ada6f4701b896924ef8026c2b9a5d36c5be36643.tar.bz2 |
Shorten internal problem help text
The help text for various "internal problem" settings is longer than
80 columns. This patch tightens this up a bit. Note that these
commands are all "maint" commands so, IMO, it is sufficient if they
are clear to a gdb developer.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
-rw-r--r-- | gdb/utils.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index a1bf9e4..2932efc 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -597,11 +597,11 @@ add_internal_problem_command (struct internal_problem *problem) if (problem->user_settable_should_dump_core) { std::string set_core_doc - = string_printf (_("Set whether GDB should create a core file of " - "GDB when %s is detected."), problem->name); + = string_printf (_("Set whether GDB should dump core " + "when %s is detected."), problem->name); std::string show_core_doc - = string_printf (_("Show whether GDB will create a core file of " - "GDB when %s is detected."), problem->name); + = string_printf (_("Show whether GDB should dump core " + "when %s is detected."), problem->name); add_setshow_enum_cmd ("corefile", class_maintenance, internal_problem_modes, &problem->should_dump_core, @@ -617,11 +617,11 @@ add_internal_problem_command (struct internal_problem *problem) if (problem->user_settable_should_print_backtrace) { std::string set_bt_doc - = string_printf (_("Set whether GDB should print a backtrace of " - "GDB when %s is detected."), problem->name); + = string_printf (_("Set whether GDB should show backtrace " + "when %s is detected."), problem->name); std::string show_bt_doc - = string_printf (_("Show whether GDB will print a backtrace of " - "GDB when %s is detected."), problem->name); + = string_printf (_("Show whether GDB should show backtrace " + "when %s is detected."), problem->name); add_setshow_boolean_cmd ("backtrace", class_maintenance, &problem->should_print_backtrace, set_bt_doc.c_str (), |