diff options
Diffstat (limited to 'gdb/sparc64-tdep.c')
-rw-r--r-- | gdb/sparc64-tdep.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index ac915d4..593db36 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -186,14 +186,6 @@ sparc64_forget_process (pid_t pid) } -static void -info_adi_command (const char *args, int from_tty) -{ - printf_unfiltered ("\"adi\" must be followed by \"examine\" " - "or \"assign\".\n"); - help_list (sparc64adilist, "adi ", all_commands, gdb_stdout); -} - /* Read attributes of a maps entry in /proc/[pid]/adi/maps. */ static void @@ -538,10 +530,9 @@ void _initialize_sparc64_adi_tdep (); void _initialize_sparc64_adi_tdep () { - - add_prefix_cmd ("adi", class_support, info_adi_command, - _("ADI version related commands."), - &sparc64adilist, "adi ", 0, &cmdlist); + add_basic_prefix_cmd ("adi", class_support, + _("ADI version related commands."), + &sparc64adilist, "adi ", 0, &cmdlist); add_cmd ("examine", class_support, adi_examine_command, _("Examine ADI versions."), &sparc64adilist); add_alias_cmd ("x", "examine", no_class, 1, &sparc64adilist); |