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,
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 (),