]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/dcache.c
gdb: generate the prefix name for prefix commands on demand
[thirdparty/binutils-gdb.git] / gdb / dcache.c
index 201505bf9e9ea53ef75e758cde303c75f4430e7a..50b3854fe69e6bc8aee952c71ad88b63f0b9b495 100644 (file)
@@ -696,11 +696,10 @@ the contents of the given line."));
 
   add_basic_prefix_cmd ("dcache", class_obscure, _("\
 Use this command to set number of lines in dcache and line-size."),
-                       &dcache_set_list, "set dcache ", /*allow_unknown*/0,
-                       &setlist);
+                       &dcache_set_list, /*allow_unknown*/0, &setlist);
   add_show_prefix_cmd ("dcache", class_obscure, _("\
 Show dcachesettings."),
-                      &dcache_show_list, "show dcache ", /*allow_unknown*/0,
+                      &dcache_show_list, /*allow_unknown*/0,
                       &showlist);
 
   add_setshow_zuinteger_cmd ("line-size", class_obscure,