+2020-05-11  Tom Tromey  <tromey@adacore.com>
+
+       * cli/cli-cmds.c (info_command): Restore.
+       (_initialize_cli_cmds): Use add_prefix_command for "info".
+       * gdb-gdb.gdb.in: Restore breakpoint on info_command.
+
 2020-05-11  Tom Tromey  <tromey@adacore.com>
 
        * ada-lang.c (ada_value_primitive_field): Now public.
 
   error (_("Argument required (%s)."), why);
 }
 
+/* This implements the "info" prefix command.  Normally such commands
+   are automatically handled by add_basic_prefix_cmd, but in this case
+   a separate command is used so that it can be hooked into by
+   gdb-gdb.gdb.  */
+
+static void
+info_command (const char *arg, int from_tty)
+{
+  help_list (infolist, "info ", all_commands, gdb_stdout);
+}
+
 /* See cli/cli-cmds.h.  */
 
 void
                           show_history_expansion_p,
                           &sethistlist, &showhistlist);
 
-  add_basic_prefix_cmd ("info", class_info, _("\
+  add_prefix_cmd ("info", class_info, info_command, _("\
 Generic command for showing things about the program being debugged."),
-                       &infolist, "info ", 0, &cmdlist);
+                 &infolist, "info ", 0, &cmdlist);
   add_com_alias ("i", "info", class_info, 1);
   add_com_alias ("inf", "info", class_info, 1);