aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 8fd391e..ade5ebd 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -2003,10 +2003,7 @@ show_values (char *num_exp, int from_tty)
"show values +". If num_exp is null, this is unnecessary, since
"show values +" is not useful after "show values". */
if (from_tty && num_exp)
- {
- num_exp[0] = '+';
- num_exp[1] = '\0';
- }
+ set_repeat_arguments ("+");
}
enum internalvar_kind