+2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * symtab.c (symbol_to_info_string): New function, most content
+ moved from print_symbol_info, but updated to return a std::string.
+ (print_symbol_info): Update to use symbol_to_info_string and print
+ returned string.
+ * symtab.h (symbol_to_info_string): Declare new function.
+
+2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/python.c (gdbpy_rbreak): Convert to using
+ global_symbol_searcher.
+ * symtab.c (file_matches): Convert return type to bool, change
+ file list to std::vector, update header comment.
+ (search_symbols): Rename to...
+ (global_symbol_searcher::search): ...this and update now its
+ a member function of global_symbol_searcher. Take account of the
+ changes to file_matches.
+ (symtab_symbol_info): Convert to using global_symbol_searcher.
+ (rbreak_command): Likewise.
+ (search_module_symbols): Likewise.
+ * symtab.h (enum symbol_search): Update comment.
+ (search_symbols): Remove declaration.
+ (class global_symbol_searcher): New class.
+
+2019-11-26 Tom Tromey <tromey@adacore.com>
+
+ * cp-support.c (_initialize_cp_support): Conditionally initialize
+ gdb_demangle_attempt_core_dump.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * python/py-function.c (fnpy_init): Update.
+ * value.h (add_internal_function): Adjust declaration.
+ * value.c (function_destroyer): Remove.
+ (do_add_internal_function): Don't set destroyer or copy name.
+ (add_internal_function): Take unique_xmalloc_ptr<char> for name.
+ Set name_allocated.
+ * python/py-cmd.c (cmdpy_destroyer): Don't free "name".
+ (cmdpy_init): Set name_allocated.
+ * cli/cli-decode.h (struct cmd_list_element) <name_allocated>: New
+ member.
+ (~cmd_list_element): Free "name" if needed.
+
+2019-11-26 Tom Tromey <tom@tromey.com>
+
+ * value.h (add_internal_function): Add new overload. Move
+ documentation from value.h.
+ * value.c (do_add_internal_function): New function.
+ (add_internal_function): Use it. Add new overload.
+ (function_destroyer): Don't free doc.
+ * python/py-function.c (fnpy_init): Update.
+
2019-11-26 Tom Tromey <tom@tromey.com>
* python/py-cmd.c (cmdpy_destroyer): Don't free "doc".