Add set_repeat_arguments function
[deliverable/binutils-gdb.git] / gdb / value.c
index 8fd391e637d0430ef90ae1eb12a7bb7df812ff25..ade5ebd78b22b0f2d30e384b7da6d5efabd512ca 100644 (file)
@@ -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 ("+");
 }
 \f
 enum internalvar_kind
This page took 0.024721 seconds and 4 git commands to generate.