diff options
Diffstat (limited to 'gdb/cli/cli-setshow.c')
-rw-r--r-- | gdb/cli/cli-setshow.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index 6fb3244..4053883 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -130,8 +130,9 @@ deprecated_show_value_hack (struct ui_file *ignore_file, /* If there's no command or value, don't try to print it out. */ if (c == NULL || value == NULL) return; - /* Print doc minus "show" at start. */ - print_doc_line (gdb_stdout, c->doc + 5); + /* Print doc minus "Show " at start. Tell print_doc_line that + this is for a 'show value' prefix. */ + print_doc_line (gdb_stdout, c->doc + 5, true); switch (c->var_type) { case var_string: |