aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index f1aaa64..a9c4e93 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -2922,14 +2922,6 @@ show_memory_tagging_unsupported (void)
" architecture."));
}
-/* Implement the "memory-tag" prefix command. */
-
-static void
-memory_tag_command (const char *arg, int from_tty)
-{
- help_list (memory_tag_list, "memory-tag ", all_commands, gdb_stdout);
-}
-
/* Helper for print-logical-tag and print-allocation-tag. */
static void
@@ -3386,7 +3378,7 @@ Convert the arguments to a string as \"printf\" would, but then\n\
treat this string as a command line, and evaluate it."));
/* Memory tagging commands. */
- add_prefix_cmd ("memory-tag", class_vars, memory_tag_command, _("\
+ add_basic_prefix_cmd ("memory-tag", class_vars, _("\
Generic command for printing and manipulating memory tag properties."),
&memory_tag_list, 0, &cmdlist);
add_cmd ("print-logical-tag", class_vars,