The 'add_info' function is used for creating info commands, these
commands should be created as 'class_info' rather than 'no_class'.
gdb/ChangeLog:
* cli/cli-decode.c (add_info): Switch to class_info.
+2015-11-11 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cli/cli-decode.c (add_info): Switch to class_info.
+
2015-11-09 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_is_wrapper_field): Add special handling
struct cmd_list_element *
add_info (const char *name, cmd_cfunc_ftype *fun, const char *doc)
{
- return add_cmd (name, no_class, fun, doc, &infolist);
+ return add_cmd (name, class_info, fun, doc, &infolist);
}
/* Add an alias to the list of info subcommands. */