gdb.base/corefile.exp regression for unix/-m32 on x86_64 (PR 26336)
[binutils-gdb.git] / gdb / ChangeLog
index 702d827a955bd95e24005a3daca088871c3295f9..1e2aa8d697b8a1879f221ca31cb71648f93e3675 100644 (file)
@@ -1,3 +1,123 @@
+2020-08-12  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/26336
+       * progspace.c (program_space::remove_objfile): Invalidate the
+       frame cache.
+
+2020-08-11  Tom de Vries  <tdevries@suse.de>
+
+       * MAINTAINERS: Mark ms1 as deleted.
+
+2020-08-10  Luis Machado  <luis.machado@linaro.org>
+
+       PR gdb/26310
+
+       * aarch64-tdep.c (aarch64_analyze_prologue): Track use of SP/FP and
+       act accordingly.
+       (aarch64_analyze_prologue_test): Add more unit tests to exercise
+       movz/str/stur/stp skipping behavior.
+
+2020-08-10  Luis Machado  <luis.machado@linaro.org>
+
+       * nat/aarch64-sve-linux-sigcontext.h (SVE_PT_REGS_OFFSET): Use
+       struct user_sve_header instead of struct sve_context.
+
+2020-08-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * read.h (dwarf2_fetch_die_loc_sect_off,
+       dwarf2_fetch_die_loc_cu_off): Replace function pointer +
+       `void *` parameter with function_view.
+       * read.c (dwarf2_fetch_die_loc_sect_off,
+       dwarf2_fetch_die_loc_cu_off): Likewise.
+       * loc.c (get_frame_pc_for_per_cu_dwarf_call): Remove.
+       (per_cu_dwarf_call): Adjust.
+       (get_frame_address_in_block_wrapper): Remove.
+       (indirect_synthetic_pointer): Adjust.
+       (get_ax_pc): Remove.
+       (dwarf2_compile_expr_to_ax): Adjust.
+
+2020-08-08  Tom de Vries  <tdevries@suse.de>
+
+       PR build/26344
+       * arch/riscv.c (riscv_lookup_target_description): Use an explicit
+       constructor.
+       * regcache.c (get_thread_arch_aspace_regcache): Same.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c
+       (ravenscar_thread_target::set_base_thread_from_ravenscar_task):
+       New method.
+       (ravenscar_thread_target::wait): Check
+       runtime_initialized.
+       (ravenscar_thread_target::prepare_to_store)
+       (ravenscar_thread_target::stopped_by_sw_breakpoint)
+       (ravenscar_thread_target::stopped_by_hw_breakpoint)
+       (ravenscar_thread_target::stopped_by_watchpoint)
+       (ravenscar_thread_target::stopped_data_address)
+       (ravenscar_thread_target::core_of_thread): Use
+       scoped_restore_current_thread and
+       set_base_thread_from_ravenscar_task.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c (update_thread_list): Set inferior_ptid.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c (ravenscar_thread_target::wait): Call
+       update_inferior_ptid before update_thread_list.
+       (temporarily_change_regcache_ptid): New class.
+       (ravenscar_thread_target::fetch_registers)
+       (ravenscar_thread_target::store_registers)
+       (ravenscar_thread_target::prepare_to_store): Use base thread when
+       forwarding operation.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c (ravenscar_thread_target::resume): Handle
+       "is_pid" case.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c (xfer_partial, enable_btrace, add_thread):
+       New methods.
+       (ravenscar_thread_target::get_thread_base_cpu): Check m_cpu_map
+       first.
+       (ravenscar_thread_target::add_thread): Rename from
+       ravenscar_add_thread.
+       (ravenscar_thread_target::update_thread_list): Use a lambda.
+       (ravenscar_thread_target::xfer_partial): New method.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ada-lang.h (ada_task_list_iterator_ftype): Now a
+       gdb::function_view.
+       (iterate_over_live_ada_tasks): Change type of argument.
+       * ada-tasks.c (iterate_over_live_ada_tasks): Change type
+       of argument.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c (ravenscar_thread_target) <extra_thread_info>:
+       Remove.
+       (ravenscar_thread_target::extra_thread_info): Remove.
+       (ravenscar_thread_target::pid_to_str): Mention Ravenscar in result;
+       defer to target beneath for non-Ravenscar threads.
+
+2020-08-07  Tom Tromey  <tromey@adacore.com>
+
+       * ravenscar-thread.c (ravenscar_thread_target) <get_base_cpu,
+       get_base_thread_from_ravenscar_task>: Now methods.
+       <m_cpu_map>: New member.
+       (ravenscar_thread_target::get_thread_base_cpu): Rename from
+       ravenscar_get_thread_base_cpu.  Check m_cpu_map.
+       (ravenscar_thread_target::task_is_currently_active): Update.
+       (ravenscar_thread_target::get_base_thread_from_ravenscar_task):
+       Now a method.
+       (ravenscar_thread_target::add_active_thread): Put initial thread
+       into the m_cpu_map.
+
 2020-08-07  Tom Tromey  <tromey@adacore.com>
 
        * ravenscar-thread.c (ravenscar_thread_target::wait): Return
 
 2020-08-06  Caroline Tice <cmtice@google.com>
 
-        * dwarf2/read.c (struct dwo_file): Update comment on 'sections' field.
-        (struct dwp_sections): Update field comments.  Add loclists and
-        rnglists fields.
-        (struct virtual_v2_dwo_sections): Rename struct to
-        'virtual_v2_or_v5_dwo_sections'; update comments at top of struct; add
-        size & offset fields for loclists and rnglists.
-        (struct dwp_hash_table): Add a 'v5' struct field to the union section.
-        (create_debug_type_hash_table): Add 'DW_UT_split_type' to the check for
-        skipping dummy type units.
-        (create_dwp_hash_table): Update the large comment above the function to
-        discuss Version 5 DWP files as well, with references.  Update all the
-        version checks in the function to check for version 5 as well.  Add new
-        section at the end to create dwp hash table for version 5.
-        (create_dwp_v2_section): Rename function to
-        'create_dwp_v2_or_v5_section'.  Update function comment appropriately.
-        Add V5 to error message text.
-        (create_dwo_unit_in_dwp_v2): Change calls to create_dwp_v2_section
-        into calls to create_dwp_v2_or_v5_section.
-        (create_dwo_unit_in_dwp_v5): New function.
-        (lookup_dwo_unit_in_dwp): Update conditional statement to explicitly
-        check for version2; add else clause to handle version 5.
-        (open_and_init_dwo_file): Add code to check dwarf version & only call
-        create_debug_types_hash_table (with sections.types) if version is not 5;
-        else call create_debug_type_hash_table, with sections.info.
-        (dwarf2_locate_v2_dwp_sections): Update function comment to mention
-        version 5.
-        (dwarf2_locate_v5_dwp_sections): New function.
-        (open_and_init_dwp_file): Add else-if clause for version 5 to call
-        bfd_map_over_sections with dwarf2_locate_v5_dwp_sections.
+       * dwarf2/read.c (struct dwo_file): Update comment on 'sections' field.
+       (struct dwp_sections): Update field comments.  Add loclists and
+       rnglists fields.
+       (struct virtual_v2_dwo_sections): Rename struct to
+       'virtual_v2_or_v5_dwo_sections'; update comments at top of struct; add
+       size & offset fields for loclists and rnglists.
+       (struct dwp_hash_table): Add a 'v5' struct field to the union section.
+       (create_debug_type_hash_table): Add 'DW_UT_split_type' to the check for
+       skipping dummy type units.
+       (create_dwp_hash_table): Update the large comment above the function to
+       discuss Version 5 DWP files as well, with references.  Update all the
+       version checks in the function to check for version 5 as well.  Add new
+       section at the end to create dwp hash table for version 5.
+       (create_dwp_v2_section): Rename function to
+       'create_dwp_v2_or_v5_section'.  Update function comment appropriately.
+       Add V5 to error message text.
+       (create_dwo_unit_in_dwp_v2): Change calls to create_dwp_v2_section
+       into calls to create_dwp_v2_or_v5_section.
+       (create_dwo_unit_in_dwp_v5): New function.
+       (lookup_dwo_unit_in_dwp): Update conditional statement to explicitly
+       check for version2; add else clause to handle version 5.
+       (open_and_init_dwo_file): Add code to check dwarf version & only call
+       create_debug_types_hash_table (with sections.types) if version is not 5;
+       else call create_debug_type_hash_table, with sections.info.
+       (dwarf2_locate_v2_dwp_sections): Update function comment to mention
+       version 5.
+       (dwarf2_locate_v5_dwp_sections): New function.
+       (open_and_init_dwp_file): Add else-if clause for version 5 to call
+       bfd_map_over_sections with dwarf2_locate_v5_dwp_sections.
 
 2020-08-06  Simon Marchi  <simon.marchi@efficios.com>
 
        "maint print" commands.
 
 2020-07-22  Kevin Buettner  <kevinb@redhat.com>
-    
+
        * linux-tdep.c (dump_note_entry_p): New function.
        (linux_dump_mapping_p_ftype): New typedef.
        (linux_find_memory_regions_full): Add new parameter,