]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb: remove TYPE_ARRAY_BIT_STRIDE
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index e3abc3d651f75f82ca2ea0f8bbc967f93e6f26bb..0d54f5eb7292411f18ed7ad908699c3cda473f82 100644 (file)
@@ -1,3 +1,207 @@
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (TYPE_ARRAY_BIT_STRIDE): Remove.  Update all
+       callers to use the equivalent accessor methods.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct range_bounds) <bit_stride>: New method.
+       (struct type) <bit_stride>: New method.
+       (TYPE_BIT_STRIDE): Remove.
+       * gdbtypes.c (update_static_array_size): Use type::bit_stride.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_ARRAY_LOWER_BOUND_VALUE,
+       TYPE_ARRAY_UPPER_BOUND_VALUE): Remove.  Update all
+       callers to use the equivalent accessor methods instead.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED,
+       TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): Remove.  Update all
+       callers to use the equivalent accessor methods instead.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_LOW_BOUND_KIND,
+       TYPE_HIGH_BOUND_KIND): Remove.  Update all callers
+       to use dynamic_prop::kind.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_LOW_BOUND_UNDEFINED,
+       TYPE_HIGH_BOUND_UNDEFINED): Remove.  Update all callers
+       to get the bound property's kind and check against
+       PROP_UNDEFINED.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND): Remove.  Update
+       all callers to use type::range_bounds followed by
+       dynamic_prop::{low,high}.
+
+2020-07-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbtypes.h (struct dynamic_prop) <kind, set_undefined,
+       const_val, set_const_val, baton, set_locexpr, set_loclist,
+       set_addr_offset, variant_parts, set_variant_parts,
+       original_type, set_original_type>: New methods.
+       <kind>: Rename to...
+       <m_kind>: ... this.  Update all users to use the new methods
+       instead.
+       <data>: Rename to...
+       <m_data>: ... this.  Update all users to use the new methods
+       instead.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (get_discrete_bounds): Return failure if
+       the range type's bounds are not both defined and constant
+       values.
+       (get_array_bounds): Update comment.  Remove undefined bound check.
+
+2020-07-12  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbtypes.h (TYPE_RANGE_DATA): Remove.  Update callers to use
+       the type::bounds method directly.
+
+2020-07-12  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.h (struct type) <bounds, set_bounds>: New methods.
+       (TYPE_RANGE_DATA): Use type::bounds.  Change all uses that
+       are used to set the range type's bounds to use set_bounds.
+
+2020-07-11  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * exec.c (_initialize_exec): Update exec-file-mismatch help.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       * gdbthread.h (inferior_ref): Define.
+       (scoped_restore_current_thread) <m_thread>: Now a thread_info_ref.
+       (scoped_restore_current_thread) <m_inf>: Now an inferior_ref.
+       * thread.c
+       (scoped_restore_current_thread::restore):
+       Adjust to gdb::ref_ptr.
+       (scoped_restore_current_thread::~scoped_restore_current_thread):
+       Remove manual decref handling.
+       (scoped_restore_current_thread::scoped_restore_current_thread):
+       Adjust to use
+       inferior_ref::new_reference/thread_info_ref::new_reference.
+       Incref the thread before calling get_frame_id instead of after.
+       Let TARGET_CLOSE_ERROR propagate.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       * frame-tailcall.c (dwarf2_tailcall_sniffer_first): Only swallow
+       NO_ENTRY_VALUE_ERROR / MEMORY_ERROR / OPTIMIZED_OUT_ERROR /
+       NOT_AVAILABLE_ERROR.
+       * value.c (value_optimized_out): Only swallow MEMORY_ERROR /
+       OPTIMIZED_OUT_ERROR / NOT_AVAILABLE_ERROR.
+
+2020-07-10  Simon Marchi  <simon.marchi@polymtl.ca>
+           Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26199
+       * infrun.c (threads_are_resumed_pending_p): Delete.
+       (do_target_wait): Remove threads_are_executing and
+       threads_are_resumed_pending_p checks from the inferior_matches
+       lambda.  Update comments.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26199
+       * infrun.c (handle_no_resumed): Transfer terminal to inferior with
+       executing threads.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26199
+       * infrun.c (handle_no_resumed): Handle multiple targets.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26199
+       * infrun.c (prepare_to_wait): Check target_can_async_p instead of
+       target_is_async_p.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26199
+       * target.c (target_pass_ctrlc): Look at the inferior's non-exited
+       threads, not all threads.
+
+2020-07-10  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26199
+       * remote.c (remote_target::open_1): Pass remote target pointer as
+       data to create_async_event_handler.
+       (remote_async_inferior_event_handler): Mark async event handler
+       before returning if the remote target still has either pending
+       events or unacknowledged notifications.
+
+2020-07-10  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.h (fbsd_nat_target::supports_multi_process): New
+       declaration.
+       * fbsd-nat.c (fbsd_nat_target::supports_multi_process): New
+       function.
+
+2020-07-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * inf-ptrace.c (inf_ptrace_target::wait): Don't compare against
+       inferior_ptid.
+
+2020-07-09  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_ARGC,
+       AT_FREEBSD_ARGV, AT_FREEBSD_ENVC, AT_FREEBSD_ENVV,
+       AT_FREEBSD_PS_STRINGS.
+
+2020-07-08  Hannes Domani  <ssbssa@yahoo.de>
+
+       * auto-load.c (auto_load_objfile_script_1): Convert drive part
+       of debugfile path on Windows.
+
+2020-07-08  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_nat_target::find_memory_regions): Rename 'obfd'
+       argument to 'data'.
+
+2020-07-08  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.c (ada_exception_message_1): Use read_memory.
+
+2020-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR python/22748
+       * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Remove
+       special handling for inline frames.
+       * findvar.c (value_of_register_lazy): Skip inline frames when
+       creating lazy register values.
+       * frame.c (frame_id_computed_p): Delete definition.
+       * frame.h (frame_id_computed_p): Delete declaration.
+
+2020-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Mention additions to Python API.
+       * python/py-arch.c (archpy_register_groups): New function.
+       (arch_object_methods): Add 'register_groups' method.
+       * python/py-registers.c (reggroup_iterator_object): New struct.
+       (reggroup_object): New struct.
+       (gdbpy_new_reggroup): New function.
+       (gdbpy_reggroup_to_string): New function.
+       (gdbpy_reggroup_name): New function.
+       (gdbpy_reggroup_iter): New function.
+       (gdbpy_reggroup_iter_next): New function.
+       (gdbpy_new_reggroup_iterator): New function
+       (gdbpy_initialize_registers): Register new types.
+       (reggroup_iterator_object_type): Define new Python type.
+       (gdbpy_reggroup_getset): New static global.
+       (reggroup_object_type): Define new Python type.
+       * python/python-internal.h
+
 2020-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * Makefile.in (SUBDIR_PYTHON_SRCS): Add py-registers.c