Implement the "get_siginfo_type" gdbarch method for FreeBSD architectures.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bf9e08d1d814ae6774cdbb7ce962c5839fc1edf9..d5afeade3a3fb237e3c56da18e1c83d706b3e912 100644 (file)
@@ -1,3 +1,202 @@
+2017-07-07  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_gdbarch_data_handle, struct fbsd_gdbarch_data)
+       (init_fbsd_gdbarch_data, get_fbsd_gdbarch_data)
+       (fbsd_get_siginfo_type): New.
+       (fbsd_init_abi): Install gdbarch "get_siginfo_type" method.
+       (_initialize_fbsd_tdep): New.
+
+2017-07-06  David Blaikie  <dblaikie@gmail.com>
+
+       * dwarf2read.c (struct dwo_file): Use a htab of dwo_unit* (rather than
+       a singular dwo_unit*) to support multiple CUs in the same way that
+       multiple TUs are supported.
+       (create_cus_hash_table): Replace create_dwo_cu with a function for
+       parsing multiple CUs from a DWO file.
+       (open_and_init_dwo_file): Use create_cus_hash_table rather than
+       create_dwo_cu.
+       (lookup_dwo_cutu): Lookup CU in the hash table in the dwo_file with
+       htab_find, rather than comparing the signature to a singleton CU in
+       the dwo_file.
+
+2017-07-06  Pedro Alves  <palves@redhat.com>
+
+       * python/py-unwind.c (pyuw_dealloc_cache): Fix for loop condition.
+
+2017-07-04  Pedro Alves  <palves@redhat.com>
+
+       * gdbtypes.c (recursive_dump_type): Don't reference TYPE_STATIC.
+       * gdbtypes.h (TYPE_STATIC): Delete.
+       (struct fn_field) <is_public, is_abstract, is_static, is_final,
+       is_synchronized, is_native>: Delete.
+       <dummy>: Bump.
+       (TYPE_FN_FIELD_PUBLIC, TYPE_FN_FIELD_STATIC, TYPE_FN_FIELD_FINAL)
+       (TYPE_FN_FIELD_SYNCHRONIZED, TYPE_FN_FIELD_NATIVE)
+       (TYPE_FN_FIELD_ABSTRACT): Delete.
+
+2017-07-03  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * buffer.h (buffer_finish): Fix spelling mistakes.
+
+2017-07-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * .dir-locals.el: Automatically switch to C-style comments in
+       versions of Emacs that support the feature.
+
+2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR cli/21688
+       * cli/cli-script.c (command_name_equals_not_inline): Remove function.
+       (process_next_line): New variable 'inline_cmd'.
+       Adjust 'if' clauses for "python", "compile" and "guile" to use
+       'command_name_equals' and check for '!inline_cmd'.
+
+2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR cli/21688
+       * cli/cli-script.c (command_name_equals_not_inline): New function.
+       (process_next_line): Adjust 'if' clauses for "python", "compile"
+       and "guile" to use command_name_equals_not_inline.
+
+2017-06-29  Pedro Alves  <palves@redhat.com>
+
+       * completer.c (expression_completer): Call
+       linespec_location_completer instead of location_completer.
+
+2017-06-29  Pedro Alves  <palves@redhat.com>
+
+       * completer.c (expression_completer): Remove code that recomputes
+       'text' from 'word'.
+
+2017-06-29  Yao Qi  <yao.qi@linaro.org>
+
+       * regformats/regdat.sh: Generate code with
+       "ifndef IN_PROCESS_AGENT".
+
+2017-06-28  Pedro Alves  <palves@redhat.com>
+
+       * command.h: Include "common/scoped_restore.h".
+
+2017-06-28  Yao Qi  <yao.qi@linaro.org>
+
+       * mi/mi-cmd-break.c (mi_argv_to_format): Use obstack_grow_str
+       instead of obstack_grow.
+
+2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
+
+       PR gdb/21337
+       * symfile.c (reread_symbols): Call objfiles_changed just before
+       read_symbols.
+
+2017-06-27  Pedro Alves  <palves@redhat.com>
+
+       * symtab.c (COMPLETION_LIST_ADD_SYMBOL)
+       (MCOMPLETION_LIST_ADD_SYMBOL): Delete macros, replace with ...
+       (completion_list_add_symbol, completion_list_add_msymbol):
+       ... these new functions.
+       (add_symtab_completions)
+       (default_make_symbol_completion_list_break_on_1): Adjust.
+
+2017-06-27  Pedro Alves  <palves@redhat.com>
+
+       * objfiles.c (get_objfile_bfd_data): Call bfd_alloc instead of
+       bfd_zalloc.  Call objfile_per_bfd_storage's ctor.
+       (free_objfile_per_bfd_storage): Call objfile_per_bfd_storage's
+       dtor.
+       * objfiles.h (objfile_per_bfd_storage): Add ctor.  Make
+       'storage_obstack' field an auto_obstack.  In-class initialize all
+       non-bitfield fields.  Make minsyms_read bool.
+       * symfile.c (read_symbols): Adjust.
+
+2017-06-27  Alan Hayward  <alan.hayward@arm.com>
+
+       * remote-sim.c (gdbsim_fetch_register): Use byte_vector.
+       (gdbsim_store_register): Likewise.
+
+2017-06-27  Pedro Alves  <palves@redhat.com>
+
+       * c-exp.y (name_obstack): Now an auto_obstack.
+       (yylex): Use auto_obstack::clear.
+       (c_parse): Use auto_obstack::clear instead of reinitializing and
+       freeing the obstack.
+       * c-lang.c (evaluate_subexp_c): Use auto_obstack.
+       * d-exp.y (name_obstack): Now an auto_obstack.
+       (yylex): Use auto_obstack::clear.
+       (d_parse): Use auto_obstack::clear instead of reinitializing and
+       freeing the obstack.
+       * dwarf2loc.c (fetch_const_value_from_synthetic_pointer): Use
+       auto_obstack.
+       * dwarf2read.c (create_addrmap_from_index)
+       (dwarf2_build_psymtabs_hard)
+       (update_enumeration_type_from_children): Likewise.
+       * gdb_obstack.h (auto_obstack): New type.
+       * go-exp.y (name_obstack): Now an auto_obstack.
+       (build_packaged_name): Use auto_obstack::clear.
+       (go_parse): Use auto_obstack::clear instead of reinitializing and
+       freeing the obstack.
+       * linux-tdep.c (linux_make_mappings_corefile_notes): Use
+       auto_obstack.
+       * printcmd.c (printf_wide_c_string, ui_printf): Use auto_obstack.
+       * rust-exp.y (work_obstack): Now an auto_obstack.
+       (rust_parse, rust_lex_tests): Use auto_obstack::clear instead of
+       reinitializing and freeing the obstack.
+       * utils.c (do_obstack_free, make_cleanup_obstack_free): Delete.
+       (host_char_to_target): Use auto_obstack.
+       * utils.h (make_cleanup_obstack_free): Delete declaration.
+       * valprint.c (generic_emit_char, generic_printstr): Use
+       auto_obstack.
+
+2017-06-27  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * darwin-nat.c (darwin_check_new_threads): Don't handle dummy
+       thread.
+       (darwin_init_thread_list): Don't update dummy thread.
+       (darwin_create_inferior, darwin_attach): Don't add a dummy thread.
+
+2017-06-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * record-full.c (netorder16): Remove.
+
+2017-06-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/diagnostics.h: Define macros for GCC.
+       (DIAGNOSTIC_IGNORE_UNUSED_FUNCTION): New macro.
+       * common/vec.h: Include diagnostics.h.
+       (DIAGNOSTIC_IGNORE_UNUSED_VEC_FUNCTION): New macro.
+       (DEF_VEC_I, DEF_VEC_P, DEF_VEC_O): Ignore -Wunused-function
+       warning.
+
+2017-06-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_REGISTER):
+       New macro.
+       * ada-lex.l: Ignore deprecated register warnings.
+
+2017-06-25  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * main.c (get_init_files): Replace "SYSTEM_GDBINIT +
+       datadir_len" with "&SYSTEM_GDBINIT[datadir_len]".
+
+2017-06-25  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dtrace-probe.c (dtrace_process_dof_probe): Put semi-colon on
+       its own line.
+
+2017-06-25  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * nat/x86-dregs.c (x86_show_dr): Print registers one per line.
+
+2017-06-23  Alan Hayward  <alan.hayward@arm.com>
+
+       * xtensa-tdep.c (XTENSA_MAX_REGISTER_SIZE): Add.
+       (xtensa_register_write_masked): Use XTENSA_MAX_REGISTER_SIZE.
+       (xtensa_register_read_masked): Likewise.
+
+2017-06-22  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * common/environ.c (gdb_environ::unset): Update comment.
+
 2017-06-22  Alan Hayward  <alan.hayward@arm.com>
 
        * python/py-unwind.c (pyuw_sniffer): Allocate space for
This page took 0.046157 seconds and 4 git commands to generate.