gdb: remove TYPE_GNU_IFUNC
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d9cb0b17643b184a90332f7ece517e249b499b76..eba28b86ce47b10b57cecc9fcaa5b09a2f6ad59c 100644 (file)
@@ -1,3 +1,383 @@
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_GNU_IFUNC): Remove, replace all
+       uses with type::is_gnu_ifunc.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <is_gnu_ifunc, set_is_gnu_ifunc>: New methods.
+       (TYPE_GNU_IFUNC): Use type::is_gnu_ifunc, change all write call sites to
+       use type::set_is_gnu_ifunc.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_STUB_SUPPORTED): Remove, replace all
+       uses with type::stub_is_supported.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <stub_is_supported, set_stub_is_supported>: New methods.
+       (TYPE_STUB_SUPPORTED): Use type::stub_is_supported, change all write call sites to
+       use type::set_stub_is_supported.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_VECTOR): Remove, replace all
+       uses with type::is_vector.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <is_vector, set_is_vector>: New methods.
+       (TYPE_VECTOR): Use type::is_vector, change all write call sites to
+       use type::set_is_vector.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_VARARGS): Remove, replace all
+       uses with type::has_varargs.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <has_varargs, set_has_varargs>: New methods.
+       (TYPE_VARARGS): Use type::has_varargs, change all write call sites to
+       use type::set_has_varargs.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_PROTOTYPED): Remove, replace all
+       uses with type::is_prototyped.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <is_prototyped, set_is_prototyped>:
+       New methods.
+       (TYPE_PROTOTYPED): Use type::is_prototyped, change all write
+       call sites to use type::set_is_prototyped.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_TARGET_STUB): Remove, replace all
+       uses with type::target_is_stub.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <target_is_stub, set_target_is_stub>:
+       New methods.
+       (TYPE_TARGET_STUB): Use type::is_stub, change all write call
+       sites to use type::set_target_is_stub.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_STUB): Remove, replace all
+       uses with type::is_stub.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <is_stub, set_is_stub>: New methods.
+       (TYPE_STUB): Use type::is_stub, change all write call sites to
+       use type::set_is_stub.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_NOSIGN): Remove, replace all uses with
+       type::has_no_signedness.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <has_no_signedness,
+       set_has_no_signedness>: New methods.
+       (TYPE_NOSIGN): Use type::has_no_signedness, change all write
+       call sites to use type::set_has_no_signedness.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_UNSIGNED): Remove, replace all uses with
+       type::is_unsigned.
+
+2020-09-14  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <is_unsigned, set_is_unsigned>: New
+       methods.
+       (TYPE_UNSIGNED): Use type::is_unsigned.  Change all write call
+       sites to use type::set_is_unsigned.
+
+2020-09-14  Fredrik Hederstierna  <fredrik.hederstierna@verisure.com>
+            Adam Renquinha <arenquinha@cimeq.qc.ca>
+
+        * arm-tdep.c (arm_m_exception_cache): Try use correct stack
+        pointer and stack frame offset when unwinding.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * NEWS: Document "-break-insert --qualified".
+       * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Handle "--qualified".
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * linespec.c (classify_mtype, compare_msyms): Delete.
+       (search_minsyms_for_name): Remove classification logic.  Instead
+       filter out trampoline symbols if we also found an external
+       function of the same name.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 10 branch created (8087c3fa8b5d695e3e29e69d70d0b35ec902ac59):
+       * version.in: Bump version to 11.0.50.DATE-git.
+
+2020-09-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * infrun.c (namespace selftests): Only define #if GDB_SELF_TEST.
+
+2020-09-11  Moritz Riesterer  <moritz.riesterer@intel.com>
+           Felix Willgerodt  <Felix.Willgerodt@intel.com>
+
+       * gdbarch.sh: Added bfloat16 type.
+       * gdbarch.c: Regenerated.
+       * gdbarch.h: Regenerated.
+       * gdbtypes.c (floatformats_bfloat16): New struct.
+       (gdbtypes_post_init): Add builtin_bfloat16.
+       * gdbtypes.h (struct builtin_type) <builtin_bfloat16>: New member.
+       (floatformats_bfloat16): New struct.
+       * i386-tdep.c (i386_zmm_type): Add field "v32_bfloat16"
+       (i386_ymm_type): Add field "v16_bfloat16"
+       (i386_gdbarch_init): Add set_gdbarch_bfloat16_format.
+       * target-descriptions.c (make_gdb_type): Add case TDESC_TYPE_BFLOAT16.
+       * gdbsupport/tdesc.cc (tdesc_predefined_types): New member bfloat16.
+       * gdbsupport/tdesc.h (tdesc_type_kind): New member TDESC_TYPE_BFLOAT16.
+       * features/i386/64bit-avx512.xml: Add bfloat16 type.
+       * features/i386/64bit-avx512.c: Regenerated.
+       * features/i386/64bit-sse.xml: Add bfloat16 type.
+       * features/i386/64bit-sse.c: Regenerated.
+
+2020-09-11  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * i386-tdep.c (i386_zmm_type): Fix field names.
+       (i386_ymm_type): Fix field names.
+
+2020-09-11  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * breakpoint.c: Fix typo in the help message of the
+       "set breakpoint condition-evaluation" command.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c: Include "nat/netbsd-nat.h".
+       * (nbsd_nat_target::pid_to_exec_file)
+       (nbsd_nat_target::thread_alive, nbsd_nat_target::thread_name)
+       (nbsd_nat_target::post_startup_inferior)
+       (nbsd_nat_target::post_attach, nbsd_nat_target::xfer_partial)
+       (nbsd_add_threads): Switch local code to common gdb/nat functions.
+       * (nbsd_pid_to_cmdline): Call sysctl from the global namespace.
+       * (nbsd_thread_lister): Remove.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * fork-inferior.c (startup_inferior): Avoid double free.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h (netbsd_nat::qxfer_siginfo): Add.
+       * netbsd-nat.c (netbsd_nat::qxfer_siginfo): Likewise.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h (netbsd_nat::enable_proc_events): Add.
+       * netbsd-nat.c: Include <sys/ptrace.h>.
+       * (netbsd_nat::enable_proc_events): Add.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h: Include "gdbsupport/function-view.h".
+       * (netbsd_nat::thread_alive, netbsd_nat::thread_name)
+       (netbsd_nat::for_each_thread): Add.
+       * netbsd-nat.c: Include "gdbsupport/common-defs.h" and
+       "gdbsupport/common-debug.h".
+       * (netbsd_nat::netbsd_thread_lister)
+       (netbsd_nat::thread_alive, netbsd_nat::thread_name)
+       (netbsd_nat::for_each_thread): Add.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h: Include <unistd.h>.
+       * (netbsd_nat::pid_to_exec_file): Add.
+       * netbsd-nat.c: Include <sys/types.h> and <sys/sysctl.h>.
+       * (netbsd_nat::pid_to_exec_file) Add.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * configure.nat (NATDEPFILES): Add nat/netbsd-nat.o when needed.
+
+2020-09-10  Kamil Rytarowski  <n54@gmx.com>
+
+       * netbsd-nat.h: New file.
+       * netbsd-nat.c: Likewise.
+
+2020-09-09  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (remove_extra_symbols): Do not increment when
+       removing an element
+
+2020-09-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb_bfd.c (gdb_bfd_open): Call bfd_fopen when fstat fails.
+
+2020-09-08  Tom Tromey  <tromey@adacore.com>
+
+       PR win32/25302:
+       * gdb_bfd.c (gdb_bfd_data): Add "st" parameter.
+       (gdb_bfd_init_data): New function.
+       (gdb_bfd_open, gdb_bfd_ref): Use gdb_bfd_init_data.
+
+2020-09-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * infrun.c (fetch_inferior_event): Use
+       `switch_to_target_no_thread` to switch the target.
+
+2020-09-06  Tom Tromey  <tom@tromey.com>
+
+       * symfile.h (dwarf2_free_objfile): Don't declare.
+
+2020-09-03  Alok Kumar Sharma  <AlokKumar.Sharma@amd.com>
+
+       * gdb/i386-tdep.c (i386_floatformat_for_type): Added conditions
+       to match 16 byte real/complex type generated by Flang compiler.
+
+2020-09-03  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoint/26546
+       * dwarf2/read.c (new_symbol): Tag label symbol without DW_AT_low_pc as
+       LOC_OPTIMIZED_OUT instead of LOC_LABEL.
+
+2020-09-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * maint.c (index_digits): New function.
+       (struct maint_print_section_data): Remove.
+       (print_bfd_section_info): Remove print_data parameter, add arg
+       and index_digits.
+       (print_objfile_section_info): Likewise.
+       (print_bfd_section_info_maybe_relocated): Likewise (plus
+       objfile).
+       (maintenance_info_sections): Adjust calls.
+
+2020-09-02  Tom Tromey  <tromey@adacore.com>
+
+       * ada-varobj.c (ada_varobj_get_ptr_number_of_children): Return 0
+       for null pointers.
+       (ada_varobj_adjust_for_child_access): Special-case null pointers.
+
+2020-09-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * bcache.h (struct bcache) <insert>: Change type of `added` to
+       pointer to bool.
+       * bcache.c (bcache::insert): Likewise.
+       * gdbtypes.c (check_types_worklist): Adjust.
+       * psymtab.c (add_psymbol_to_bcache): Adjust.
+
+2020-08-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * corelow.c (unordered_set): Include.
+       (class core_target): Add field 'm_core_unavailable_mappings'.
+       (core_target::build_file_mappings): Print only one warning
+       per inaccessible file.  Add unavailable/broken mappings
+       to m_core_unavailable_mappings.
+       (core_target::xfer_partial): Call...
+       (core_target::xfer_memory_via_mappings): New method.
+
+2020-08-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (struct field_info) <non_public_fields>: Change
+       type to bool.
+
+2020-08-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (struct field_info): Fix indentation.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * frame-unwind.h (frame_prev_register_ftype): Fix adjective
+       ordering in comment.
+       * frame.c (frame_id_eq): Fix indentation.
+
+2020-08-31  Scott Linder  <scott@scottlinder.com>
+           Simon Marchi  <simon.marchi@efficios.com>
+
+       * inline-frame.c (inline_frame_this_id): Remove assert that prevents
+       inline frame ids in outer frame.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * frame.h (enum frame_id_stack_status) <FID_STACK_OUTER>: New.
+       * frame.c (fprint_frame_id): Handle FID_STACK_OUTER.
+       (outer_frame_id): Use FID_STACK_OUTER instead of
+       FID_STACK_INVALID.
+       (frame_id_p): Don't check for outer_frame_id.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * frame-unwind.c (frame_unwind_got_optimized): Don't set
+       regnum/frame in value.  Call allocate_value_lazy.
+       * frame.c (frame_unwind_register_value): Use
+       val_print_not_saved.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (NULL_TYPE): Remove, change all uses to nullptr.
+
+2020-08-29  Pedro Alves  <pedro@palves.net>
+
+       * progspace.c (print_program_space): Use all_inferiors.  Switch to
+       the inferior before calling target_pid_to_str.
+
+2020-08-28  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (xcoff_end_psymtab): Update comment.
+       * dbxread.c (dbx_end_psymtab): Update comment.
+
+2020-08-28  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoint/26544
+       * breakpoint.c (parse_breakpoint_sals): Remove const from struct
+       event_location.
+       (create_breakpoint): Same.
+       (base_breakpoint_decode_location): Same.
+       (bkpt_create_sals_from_location): Same.
+       (bkpt_decode_location): Same.
+       (bkpt_probe_create_sals_from_location): Same.
+       (bkpt_probe_decode_location): Same.
+       (tracepoint_create_sals_from_location): Same.
+       (tracepoint_decode_location): Same.
+       (tracepoint_probe_decode_location): Same.
+       (strace_marker_create_sals_from_location): Same.
+       (strace_marker_decode_location): Same.
+       (create_sals_from_location_default): Same.
+       (decode_location_default): Same.
+       * breakpoint.h (struct breakpoint_ops): Same.
+       (create_breakpoint): Same.
+       * linespec.h (decode_line_full): Same.
+       * linespec.c (decode_line_full): Same.  Throw error if
+       result.size () == 0.
+
+2020-08-27  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26524
+       * breakpoint.c (until_break_fsm) <location_breakpoint,
+       caller_breakpoint>: Delete fields.
+       <breakpoints>: New field.
+       <until_break_fsm>: Adjust to save a breakpoint vector instead of
+       two individual breakpoints.
+       (until_break_fsm::should_stop): Loop over breakpoints in the
+       breakpoint vector.
+       (until_break_fsm::clean_up): Adjust to clear the breakpoints
+       vector.
+       (until_break_command): Handle location expanding into multiple
+       sals.
+
 2020-08-27  Pedro Alves  <pedro@palves.net>
 
        PR gdb/26523
This page took 0.038471 seconds and 4 git commands to generate.