Implement user defined prefix.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 48e7ca1ca09eae4e24576483586c07196cc7b6c8..d123622a42460939fc43e507a90c42767b224abd 100644 (file)
@@ -1,3 +1,226 @@
+2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * cli/cli-script.c (do_define_command): Ensure a redefined
+       prefix command is kept as a prefix command.
+       (define_prefix_command): New function.
+       (show_user_1): Report user defined prefixes.
+       (_initialize_cli_script):  Create the new 'define-prefix' command.
+       Add completers for 'define' and 'document'.
+       * top.c (execute_command):  If command is a user-defined prefix only
+       command, report the list of commands for this prefix command.
+
+2019-11-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * valops.c (find_oload_champ): Improve debug output.
+
+2019-11-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * valops.c (find_oload_champ): Print part of debug messages
+       before the badness vector is std::move'd.
+
+2019-11-28  Tom Tromey  <tom@tromey.com>
+
+       * value.c (creal_internal_fn): Fix comment.
+
+2019-11-28  Tom Tromey  <tom@tromey.com>
+
+       * gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count,
+       flag_bound_evaluated>: Now unsigned.
+
+2019-11-28  Tom Tromey  <tom@tromey.com>
+
+       * guile/guile-internal.h (vlscm_scm_from_value_unsafe): Don't
+       declare.
+
+2019-11-28  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * jit.c (jit_bfd_try_read_symtab): Fix printed function name in the
+       debug output.
+       * jit.c (jit_unregister_code): Add debug print to match
+       `jit_register_code`.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * NEWS: Mention the new multithreaded symbol loading.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * maint.c (n_worker_threads): Default to 0.
+       (worker_threads_disabled): New function.
+       * maint.h (worker_threads_disabled): New function.
+       * minsyms.c (minimal_symbol_reader::record_full): Call symbol_set_names
+       here if worker_threads_disabled () is true.
+       (minimal_symbol_reader::install): Skip all threading if
+       worker_threads_disabled () is true.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * minsyms.c (add_minsym_to_hash_table): Use a previously computed
+       hash code if possible.
+       (add_minsym_to_demangled_hash_table): Likewise.
+       (minimal_symbol_reader::install): Compute the hash codes for msymbol
+       on the background thread.
+       * symtab.h (struct minimal_symbol) <hash_value, demangled_hash_value>:
+       Add these fields.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * minsyms.c (minimal_symbol_reader::install): Also compute the hash
+       of the mangled name on the background thread.
+       * symtab.c (symbol_set_names): Allow passing in the hash of the
+       linkage_name.
+       * symtab.h (symbol_set_names): Likewise.
+
+2019-11-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2read.c (inherit_abstract_dies): Ensure that delayed
+       physnames are computed for inherited DIEs.
+
+2019-11-27  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2read.h (struct dwarf2_per_objfile): Remove unnecessary
+       backslashes.
+       * cp-support.c: Remove unnecessary backslashes.
+
+2019-11-27  Christian Biesinger  <cbiesinger@google.com>
+
+       * ada-exp.y (write_ambiguous_var): Replace SYMBOL_SET_LINKAGE_NAME
+       with sym->set_linkage_name.
+       * coffread.c (coff_read_enum_type): Likewise.
+       * mdebugread.c (parse_symbol): Likewise.
+       * stabsread.c (patch_block_stabs): Likewise.
+       (define_symbol): Likewise.
+       (read_enum_type): Likewise.
+       (common_block_end): Likewise.
+       * symtab.h (struct general_symbol_info) <set_linkage_name>: New
+       function.
+       (SYMBOL_SET_LINKAGE_NAME): Remove.
+       * xcoffread.c (process_xcoff_symbol): Replace SYMBOL_SET_LINKAGE_NAME
+       with sym->set_linkage_name.
+
+2019-11-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mi/mi-cmds.c (mi_cmds): Add 'symbol-info-modules' entry.
+       * mi/mi-cmds.h (mi_cmd_symbol_info_modules): Declare.
+       * mi/mi-symbol-cmds.c (mi_cmd_symbol_info_modules): New function.
+       * NEWS: Mention new MI command.
+
+2019-11-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * mi/mi-cmds.c (mi_cmds): Add '-symbol-info-functions',
+       '-symbol-info-types', and '-symbol-info-variables'.
+       * mi/mi-cmds.h (mi_cmd_symbol_info_functions): Declare.
+       (mi_cmd_symbol_info_types): Declare.
+       (mi_cmd_symbol_info_variables): Declare.
+       * mi/mi-symbol-cmds.c: Add 'source.h' and 'mi-getopt.h' includes.
+       (output_debug_symbol): New function.
+       (output_nondebug_symbol): New function.
+       (mi_symbol_info): New function.
+       (mi_info_functions_or_variables): New function.
+       (mi_cmd_symbol_info_functions): New function.
+       (mi_cmd_symbol_info_types): New function.
+       (mi_cmd_symbol_info_variables): New function.
+       * NEWS: Mention new commands.
+
+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".
+       (cmdpy_init): Set "doc_allocated".
+
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * gdbsupport/thread-pool.c (thread_pool::set_thread_count): Set
+       name of worker thread.
+       * gdbsupport/common.m4 (GDB_AC_COMMON): Check for
+       pthread_setname_np.
+       * configure, config.in: Rebuild.
+
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * python/python.c (class gdbpy_gil): New.
+       (struct gdbpy_event): Add constructor, destructor, operator().
+       (gdbpy_post_event): Use run_on_main_thread.
+       (gdbpy_initialize_events): Remove.
+       (do_start_initialization): Update.
+
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Add entry.
+       * maint.c (_initialize_maint_cmds): Add "worker-threads" maint
+       commands.  Call update_thread_pool_size.
+       (update_thread_pool_size, maintenance_set_worker_threads): New
+       functions.
+       (n_worker_threads): New global.
+
+2019-11-26  Christian Biesinger  <cbiesinger@google.com>
+           Tom Tromey  <tom@tromey.com>
+
+       * minsyms.c (minimal_symbol_reader::install): Use
+       parallel_for_each.
+       * gdbsupport/parallel-for.h: New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add gdbsupport/parallel-for.h.
+
+2019-11-26  Christian Biesinger  <cbiesinger@google.com>
+           Tom Tromey  <tom@tromey.com>
+
+       * gdbsupport/thread-pool.h: New file.
+       * gdbsupport/thread-pool.c: New file.
+       * Makefile.in (COMMON_SFILES): Add thread-pool.c.
+       (HFILES_NO_SRCDIR): Add thread-pool.h.
+
 2019-11-26  Tom Tromey  <tom@tromey.com>
 
        * event-top.h (thread_local_segv_handler): Declare.
This page took 0.0277 seconds and 4 git commands to generate.