ada-lex.l: Ignore register diagnostic also for g++ defaulting to ISO C++17
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0d443a8f72dacefb1ad2b9d9876503b27acd844c..a01a97fc1cbdb66889e71dbc3ac03c0ca8c85ab4 100644 (file)
@@ -1,3 +1,250 @@
+2020-08-21  Mark Wielaard  <mark@klomp.org>
+
+       * ada-lex.l: Extend register warnings diagnostics comment for g++.
+
+2020-08-22  Simon Marchi  <simon.marchi@efficios.com>
+
+       * frame.c (enum class frame_id_status): New.
+       (struct frame_info) <this_id::p>: Change type to frame_id_status.
+       (fprintf_frame): Update.
+       (compute_frame_id): Set frame id status to "computing" on entry.
+       Set it back to "not_computed" on failure and to "computed" on
+       success.
+       (get_frame_id): Assert the frame id is not being computed.
+       (create_sentinel_frame): Use frame_id_status::COMPUTED.
+       (create_new_frame): Likewise.
+       (frame_cleanup_after_sniffer): Update assert.
+
+2020-08-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * regcache.c (pid_ptid_regcache_map): New type.
+       (target_ptid_regcache_map): Remove.
+       (target_pid_ptid_regcache_map): New type.
+       (regcaches): Change type to target_pid_ptid_regcache_map.
+       (get_thread_arch_aspace_regcache): Update.
+       (regcache_thread_ptid_changed): Update, handle pid-like ptid
+       case.
+       (regcaches_size): Update.
+       (regcache_count): Update.
+       (registers_changed_ptid_target_pid_test): New.
+       (_initialize_regcache): Register new test.
+
+2020-08-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * regcache.c (regcache_count): New.
+       (struct regcache_test_data): New.
+       (regcache_test_data_up): New.
+       (populate_regcaches_for_test): New.
+       (regcaches_test): Remove.
+       (get_thread_arch_aspace_regcache_test): New.
+       (registers_changed_ptid_all_test): New.
+       (registers_changed_ptid_target_test): New.
+       (registers_changed_ptid_target_ptid_test): New.
+       (regcache_thread_ptid_changed): Remove regcache_count lambda.
+       (_initialize_regcache): Register new tests.
+
+2020-08-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * regcache.c (test_get_thread_arch_aspace_regcache): Rename to...
+       (get_thread_arch_aspace_regcache_and_check): ... this.  Remove
+       gdbarch and aspace parameter.  Use current inferior's aspace.
+       Validate regcache's arch value.
+       (regcaches_test): Update.
+
+2020-08-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * regcache.c (regcaches_test): Call registers_changed.
+
+2020-08-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * infrun.c (process_event_stop_test): Fix typo "breapoint".
+
+2020-08-19  Alok Kumar Sharma  <AlokKumar.Sharma@amd.com>
+
+       * amd64-tdep.c (amd64_skip_prologue): Using symbol table
+       to find the end of prologue for flang compiled binaries.
+       * arm-tdep.c (arm_skip_prologue): Likewise.
+       * i386-tdep.c (i386_skip_prologue): Likewise.
+       * producer.c (producer_is_llvm): New function.
+       (producer_parsing_tests): Added new tests for clang/flang.
+       * producer.h (producer_is_llvm): New declaration.
+
+2020-08-18  Simon Marchi  <simon.marchi@efficios.com>
+
+       * linux-nat.c (linux_nat_debug_printf): New function.
+       (linux_nat_debug_printf_1): New macro.  Use throughout the file.
+
+2020-08-18  Aaron Merey  <amerey@redhat.com>
+
+       * Makefile.in (DEBUGINFOD_CFLAGS, DEBUGINFOD_LIBS): New variables.
+       (INTERNAL_CFLAGS_BASE): Add DEBUGINFOD_CFLAGS.
+       (CLIBS): Add DEBUGINFOD_LIBS.
+
+2020-08-17  Sergei Trofimovich  <siarheit@google.com>
+
+       * ia64-linux-nat.c: Include "gdbarch.h" to declare used
+       'gdbarch_num_regs'.
+
+2020-08-17  Tom Tromey  <tromey@adacore.com>
+
+       * ada-varobj.c (ada_varobj_decode_var): Handle case where
+       ada_get_decoded_value returns NULL.
+
+2020-08-17  Tom Tromey  <tromey@adacore.com>
+
+       * python/py-inferior.c (infpy_search_memory): Use
+       gdb_py_object_from_ulongest.
+       * python/py-infevents.c (create_inferior_call_event_object)
+       (create_memory_changed_event_object): Use
+       gdb_py_object_from_ulongest.
+       * python/py-linetable.c (ltpy_entry_get_pc): Use
+       gdb_py_object_from_ulongest.
+
+2020-08-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * loc.c (class symbol_needs_eval_context): Fix indentation.
+
+2020-08-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/loc.c (dwarf2_loc_desc_get_symbol_read_needs): Use
+       bool.
+
+2020-08-17  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/26393
+       * gdbtypes.c (dump_dynamic_prop): New function.
+       (recursive_dump_type): Use dump_dynamic_prop for TYPE_CODE_RANGE.
+
+2020-08-15  Tom de Vries  <tdevries@suse.de>
+
+       PR backtrace/26390
+       * stack.c (print_frame_args): Temporarily set the selected
+       frame to FRAME while printing the frame's arguments.
+
+2020-08-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       PR breakpoints/26385
+       * ppc-linux-nat.c (ppc_linux_nat_target::low_prepare_to_resume):
+       Always clear watchpoint with PTRACE_SET_DEBUGREG.
+
+2020-08-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
+
+       * ppc-linux-nat.c (ppc_linux_dreg_interface::detect)
+       (ppc_linux_nat_target::low_prepare_to_resume): Use ptrace () < 0
+       and >= to check return value instead of == -1 and != -1.
+
+2020-08-14  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * utils.h (class gdb_argv) <as_array_view>: New method.
+       * utils.c (gdb_argv_as_array_view_test): New.
+       (_initialize_utils): Register selftest.
+       * maint.c (maintenance_selftest): Use the new method.
+
+2020-08-13  Kamil Rytarowski  <n54@gmx.com>
+
+       * target.h (supports_dumpcore, dumpcore): New
+       function declarations.
+       * target.c (supports_dumpcore, dumpcore): New
+       functions.
+       * target-delegates.c: Rebuild.
+       * gcore.c (gcore_command): Use target_supports_dumpcore ()
+       and target_dumpcore ().
+
+2020-08-13  Aaron Merey  <amerey@redhat.com>
+
+       * debuginfod-support.c: Replace global variables with user_data.
+
+2020-08-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * maint.c (maintenance_selftest): Split args and pass array_view
+       to run_tests.
+
+2020-08-12  Luis Machado  <luis.machado@linaro.org>
+
+       * value.c (check_type_length_before_alloc): Use ULONGEST to store a
+       type's length.
+       Use %s and pulongest to print the length.
+
+2020-08-12  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Move "Multi-target debugging support" item to the
+       "Changes since GDB 9" section.
+
+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
 
 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,
This page took 0.029272 seconds and 4 git commands to generate.