Add or1k target to --enable-targets=all
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 40564810a5b9b9803722175478fe0b504a9e0359..634207bdbfbca8eb54e68d9a26123ae630d99607 100644 (file)
@@ -1,3 +1,364 @@
+2018-05-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add or1k-tdep.o.
+
+2018-05-30  Pedro Alves  <palves@redhat.com>
+
+       * common/common-exceptions.h (exception_rethrow): Use
+       ATTRIBUTE_NORETURN.
+
+2018-05-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.c (print_solib_event, check_status_catch_solib):
+       Remove struct keyword in range-based for loops.
+       * dbxread.c (find_corresponding_bincl_psymtab): Likewise.
+       * dwarf2read.c (compute_delayed_physnames, rust_union_quirks);
+       Likewise.
+       * linespec.c (find_superclass_methods, search_minsyms_for_name):
+       Likewise.
+       * symfile.c (addr_info_make_relative): Likewise.
+       * thread.c (value_in_thread_stack_temporaries): Likewise.
+
+2018-05-29  Weimin Pan  <weimin.pan@oracle.com>
+
+       * minsyms.h (lookup_minimal_symbol_and_objfile): Remove declaration.
+       * minsyms.c (lookup_minimal_symbol_and_objfile): Remove definition.
+       * coff-pe-read.c (add_pe_forwarded_sym): Replace
+       lookup_minimal_symbol_and_objfile with lookup_bound_minimal_symbol.
+       * glibc-tdep.c (glibc_skip_solib_resolver): Likewise.
+       * jit.c (jit_breakpoint_re_set_internal): Likewise.
+       * printcmd.c (info_address_command): Likewise.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * windows-nat.c (handle_exception): Update fall-through comment.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * progspace.h (so_list_ptr): Remove typedef.  Don't declare VEC.
+       (struct program_space) <added_solibs>: Now a std::vector.
+       * breakpoint.c (print_solib_event): Update.
+       (check_status_catch_solib): Update.
+       * progspace.c (clear_program_space_solib_cache): Update.
+       * solib.c (update_solib_list): Update.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * python/py-type.c (typy_richcompare): Update.
+       * guile/scm-type.c (tyscm_equal_p_type_smob): Update.
+       * gdbtypes.h (types_deeply_equal): Return bool.
+       (types_equal): Likewise.
+       * gdbtypes.c (type_equality_entry_d): Remove typedef.  Don't
+       declare VEC.
+       (check_types_equal): Change worklist to std::vector.  Return
+       bool.
+       (struct type_equality_entry): Add constructor.
+       (compare_maybe_null_strings): Return bool.
+       (check_types_worklist): Return bool.  Change worklist to
+       std::vector.
+       (types_deeply_equal): Use std::vector.
+       (types_equal): Return bool.
+       (compare_maybe_null_strings): Simplify.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * record-btrace.c (tp_t): Remove typedef.  Don't declare VEC.
+
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * objc-lang.h: Don't include cp-support.h.
+       * common/gdb_vecs.h (const_char_ptr): Remove typedef.  Don't
+       declare VEC.
+
+2018-05-27  Tom Tromey  <tom@tromey.com>
+
+       * Makefile.in (DEPFILES): Don't reference REMOTE_OBS.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * value.c (value::location): Initialize.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * dbxread.c (init_bincl_list): Remove.
+       (bincl_list): Now a std::vector.
+       (bincls_allocated, next_bincl): Remove.
+       (free_bincl_list, do_free_bincl_list_cleanup)
+       (make_cleanup_free_bincl_list): Remove.
+       (dbx_read_symtab, elfstab_build_psymtabs): Use scoped_restore,
+       unique_xmalloc_ptr.
+       (find_corresponding_bincl_psymtab, read_dbx_symtab): Update.
+       (struct header_file_location): Add constructor.
+       (add_bincl_to_list): Remove.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui.c (tui_enable): Update.
+       * mi/mi-interp.c (mi_interp::init): Update.
+       * interps.h (class interp) <name>: New method.
+       <m_name>: Rename from name.
+       (~scoped_restore_interp): Update.
+       * interps.c (interp::interp): Update.
+       (interp_add, interp_set, interp_lookup_existing)
+       (current_interp_named_p): Update.
+
+2018-05-25  Tom Tromey <tom@tromey.com>
+
+       * interps.c (interp_name): Remove.
+       * mi/mi-interp.c (mi_interp::init): Update.
+       * interps.h (interp_name): Remove.
+       (~scoped_restore_interp): Update.
+       * tui/tui.c (tui_enable): Update.
+
+2018-05-25  Tom Tromey <tom@tromey.com>
+
+       * utils.c (fputs_maybe_filtered): Update.
+       * linespec.c (decode_line_full): Update.
+       * mi/mi-interp.c (mi_on_normal_stop_1, mi_tsv_modified)
+       (mi_print_breakpoint_for_event, mi_solib_loaded)
+       (mi_solib_unloaded, mi_command_param_changed, mi_memory_changed)
+       (mi_user_selected_context_changed): Update.
+       * mi/mi-main.c (mi_execute_command): Update.
+       * cli/cli-script.c (execute_control_command): Update.
+       * python/python.c (execute_gdb_command): Update.
+       * solib.c (info_sharedlibrary_command): Update.
+       * interps.c (interp_ui_out): Remove.
+       * interps.h (interp_ui_out): Remove.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-interp.c (as_tui_interp): Use dynamic_cast.
+       * mi/mi-interp.c (as_mi_interp): Use dynamic_cast.
+       * cli/cli-interp.c (as_cli_interp): Use dynamic_cast.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * cli/cli-interp.c (safe_execute_command): Use scoped_restore.
+       * interps.c (interp_exec): Use scoped_restore.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (remote_target::remote_file_get): Use
+       gdb::byte_vector.
+       (remote_target::remote_file_put): Likewise.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * coff-pe-read.c (struct read_pe_section_data) <section_name>: Now
+       a std::string.
+       (get_pe_section_index, add_pe_exported_sym): Update.
+       (read_pe_exported_syms): Use gdb::def_vector.
+
+2018-05-25  Tom Tromey  <tom@tromey.com>
+
+       * frame.c (remove_prev_frame): Remove.
+       (get_prev_frame_if_no_cycle): Use TRY/CATCH.
+
+2018-05-25  Maciej W. Rozycki  <macro@mips.com>
+
+       * mips-linux-tdep.h (mips_supply_fpregset, mips_fill_fpregset):
+       Remove prototypes.
+       * mips-linux-nat.c (supply_fpregset): Always call
+       `mips64_supply_fpregset' rather than `mips_supply_fpregset'.
+       (fill_fpregset): Always call `mips64_fill_fpregset' rather than
+       `mips_fill_fpregset'.
+       * mips-linux-tdep.c (mips_supply_fpregset)
+       (mips_supply_fpregset_wrapper, mips_fill_fpregset)
+       (mips_fill_fpregset_wrapper): Remove functions.
+       (mips64_supply_fpregset, mips64_fill_fpregset): Update comments.
+       (mips_linux_fpregset): Remove variable.
+       (mips_linux_iterate_over_regset_sections): Use
+       `mips64_linux_fpregset' in place of `mips_linux_fpregset'.
+       (mips_linux_o32_sigframe_init): Remove comment.
+
+2018-05-25  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (struct vCont_action_support, MAXTHREADLISTRESULTS)
+       (struct readahead_cache, struct packet_reg, struct
+       remote_arch_state, class remote_state): Move higher up in the
+       file.
+       (remote_target::m_remote_state): Now an object instead of a pointer.
+       (remote_target::get_remote_state): Adjust.
+
+2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * stack.c (select_and_print_frame): Delete.
+       (struct function_bounds): Move struct within function.
+       (func_command): Most content moved into new function
+       find_frame_for_function, use new function, print result, add
+       function comment.
+       (find_frame_for_function): New function, now returns a result.
+
+2018-05-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * stack.c (iterate_over_block_arg_vars): Fix comment.
+       (print_frame_arg_vars): Pass stream in cb_data, not gdb_stdout.
+
+2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/23203
+       * frame.c
+       (scoped_restore_selected_frame::scoped_restore_selected_frame):
+       Define.
+       (scoped_restore_selected_frame::~scoped_restore_selected_frame):
+       Define.
+       * frame.h (class scoped_restore_selected_frame): New class.
+       * stack.c (print_frame_local_vars): Remove catching and rethrowing
+       of any exception, use scoped_restore_selected_frame to restore the
+       frame instead.
+
+2018-05-24  Pedro Alves  <palves@redhat.com>
+
+       * darwin-nat.h (darwin_nat_target::create_inferior): Mark with
+       override.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (struct complaints): Remove.
+       (symfile_complaint_book): Remove.
+       (series): New global.
+       (complaint_internal): Update.
+       (clear_complaints): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (counters): New global.
+       (struct complain): Remove.
+       (struct complaints) <root>: Remove.
+       (complaint_sentinel): Remove.
+       (symfile_complaint_book): Update.
+       (find_complaint) Remove.
+       (complaint_internal, clear_complaints): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (struct complain) <file, line>: Remove.
+       (find_complaint): Remove file, line parameters.
+       (complaint_internal): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (vcomplaint): Remove.
+       (complaint_internal) Merge in contents of vcomplaint.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (struct complaints) <explanation>: Remove.
+       (symfile_explanations): Remove.
+       (symfile_complaint_book): Update.
+       (vcomplaint): Update.
+       (struct explanation): Remove.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (symfile_complaints): Remove.
+       (complaint_internal): Remove "complaints" parameter.
+       (clear_complaints, vcomplaint): Remove "c" parameter.
+       (get_complaints): Remove.
+       * dwarf2read.c (dwarf2_statement_list_fits_in_line_number_section_complaint)
+       (dwarf2_debug_line_missing_file_complaint)
+       (dwarf2_debug_line_missing_end_sequence_complaint)
+       (dwarf2_complex_location_expr_complaint)
+       (dwarf2_const_value_length_mismatch_complaint)
+       (dwarf2_section_buffer_overflow_complaint)
+       (dwarf2_macro_malformed_definition_complaint)
+       (dwarf2_invalid_attrib_class_complaint)
+       (create_addrmap_from_index, dw2_symtab_iter_next)
+       (dw2_expand_marked_cus)
+       (dw2_debug_names_iterator::find_vec_in_debug_names)
+       (dw2_debug_names_iterator::next, dw2_debug_names_iterator::next)
+       (create_debug_type_hash_table, init_cutu_and_read_dies)
+       (partial_die_parent_scope, add_partial_enumeration)
+       (skip_one_die, fixup_go_packaging, quirk_rust_enum, process_die)
+       (dwarf2_compute_name, dwarf2_physname, read_namespace_alias)
+       (read_import_statement, read_file_scope, create_dwo_cu_reader)
+       (create_cus_hash_table, create_dwp_hash_table)
+       (inherit_abstract_dies, read_func_scope, read_call_site_scope)
+       (dwarf2_rnglists_process, dwarf2_ranges_process)
+       (dwarf2_add_type_defn, dwarf2_attach_fields_to_type)
+       (dwarf2_add_member_fn, get_alignment, maybe_set_alignment)
+       (handle_struct_member_die, process_structure_scope)
+       (read_array_type, read_common_block, read_module_type)
+       (read_tag_pointer_type, read_typedef, read_base_type)
+       (read_subrange_type, load_partial_dies, partial_die_info::read)
+       (partial_die_info::read, partial_die_info::read)
+       (partial_die_info::read, read_checked_initial_length_and_offset)
+       (dwarf2_string_attr, read_formatted_entries)
+       (dwarf_decode_line_header)
+       (lnp_state_machine::check_line_address, dwarf_decode_lines_1)
+       (new_symbol, dwarf2_const_value_attr, lookup_die_type)
+       (read_type_die_1, determine_prefix, dwarf2_get_ref_die_offset)
+       (dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
+       (get_signatured_type, get_DW_AT_signature_type)
+       (decode_locdesc, file_file_name, consume_improper_spaces)
+       (skip_form_bytes, skip_unknown_opcode, dwarf_parse_macro_header)
+       (dwarf_decode_macro_bytes, dwarf_decode_macros)
+       (dwarf2_symbol_mark_computed, set_die_type)
+       (read_attribute_value): Update.
+       * stap-probe.c (handle_stap_probe, get_stap_base_address):
+       Update.
+       * dbxread.c (unknown_symtype_complaint)
+       (lbrac_mismatch_complaint, repeated_header_complaint)
+       (set_namestring, function_outside_compilation_unit_complaint)
+       (read_dbx_symtab, process_one_symbol): Update.
+       * gdbtypes.c (stub_noname_complaint): Update.
+       * windows-nat.c (handle_unload_dll): Update.
+       * coffread.c (coff_symtab_read, enter_linenos, decode_type)
+       (decode_base_type): Update.
+       * xcoffread.c (bf_notfound_complaint, ef_complaint)
+       (eb_complaint, record_include_begin, record_include_end)
+       (enter_line_range, xcoff_next_symbol_text, read_xcoff_symtab)
+       (process_xcoff_symbol, read_symbol)
+       (function_outside_compilation_unit_complaint)
+       (scan_xcoff_symtab): Update.
+       * machoread.c (macho_symtab_read, macho_add_oso_symfile): Update.
+       * buildsym.c (finish_block_internal, make_blockvector)
+       (end_symtab_get_static_block, augment_type_symtab): Update.
+       * dtrace-probe.c (dtrace_process_dof)
+       (dtrace_static_probe_ops::get_probes): Update.
+       * complaints.h (struct complaint): Don't declare.
+       (symfile_complaints): Remove.
+       (complaint_internal): Remove "complaints" parameter.
+       (complaint): Likewise.
+       (clear_complaints): Likewise.
+       * symfile.c (syms_from_objfile_1, finish_new_objfile)
+       (reread_symbols): Update.
+       * dwarf2-frame.c (dwarf2_restore_rule, execute_cfa_program)
+       (dwarf2_frame_cache, decode_frame_entry): Update.
+       * dwarf2loc.c (dwarf_reg_to_regnum): Update.
+       * objc-lang.c (lookup_objc_class, lookup_child_selector)
+       (info_selectors_command): Update.
+       * macrotab.c (macro_include, check_for_redefinition)
+       (macro_undef): Update.
+       * objfiles.c (filter_overlapping_sections): Update.
+       * stabsread.c (invalid_cpp_abbrev_complaint)
+       (reg_value_complaint, stabs_general_complaint, dbx_lookup_type)
+       (define_symbol, error_type, read_type, rs6000_builtin_type)
+       (stabs_method_name_from_physname, read_member_functions)
+       (read_cpp_abbrev, read_baseclasses, read_tilde_fields)
+       (attach_fields_to_type, complain_about_struct_wipeout)
+       (read_range_type, read_args, common_block_start)
+       (common_block_end, cleanup_undefined_types_1, scan_file_globals):
+       Update.
+       * mdebugread.c (index_complaint, unknown_ext_complaint)
+       (basic_type_complaint, bad_tag_guess_complaint)
+       (bad_rfd_entry_complaint, unexpected_type_code_complaint)
+       (reg_value_complaint, parse_symbol, parse_type, upgrade_type)
+       (parse_procedure, parse_lines)
+       (function_outside_compilation_unit_complaint)
+       (parse_partial_symbols, psymtab_to_symtab_1, cross_ref)
+       (bad_tag_guess_complaint, reg_value_complaint): Update.
+       * cp-support.c (demangled_name_complaint): Update.
+       * macroscope.c (sal_macro_scope): Update.
+       * dwarf-index-write.c (class debug_names): Update.
+
+2018-05-23  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (clear_complaints): Remove "noisy" parameter.
+       * complaints.h (clear_complaints): Update.
+       * symfile.c (syms_from_objfile_1, finish_new_objfile)
+       (reread_symbols): Update.
+
 2018-05-23  Tom Tromey  <tom@tromey.com>
 
        * complaints.c (enum complaint_series): Remove FIRST_MESSAGE,
This page took 0.029247 seconds and 4 git commands to generate.