gdb: Add ARC target and maintainer to MAINTAINERS
[binutils-gdb.git] / gdb / ChangeLog
index b5917e95f9d68354d8f4fcb3d2e284635c9c70ac..ceff808d82966d937e686f857e9189ed97244e74 100644 (file)
@@ -1,3 +1,193 @@
+2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
+
+       * MAINTAINERS: Add ARC target and maintainer.
+
+2020-08-25  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * configure.tgt: ARC support for GNU/Linux.
+       * Makefile.in (ALL_TARGET_OBJS): Likewise.
+       * arc-linux-tdep.c: New file.
+       * arc-tdep.h (ARC_STATUS32_L_MASK, ARC_STATUS32_DE_MASK): Declare.
+       * arc-tdep.c (arc_write_pc): Use it.
+
+2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
+
+       * arc-tdep.c (arc_check_for_hardware_loop): New.
+       * arc-tdep.h (gdbarch_tdep): New field has_hw_loops.
+
+2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
+
+       * arc-tdep.h: Include "gdbarch.h".
+
+2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
+
+       * arch/arc.h
+       (arc_gdbarch_features): New class to stir the selection of target XML.
+       (arc_create_target_description): Use FEATURES to choose XML target.
+       (arc_lookup_target_description): Use arc_create_target_description
+       to create _new_ target descriptions or return the already created
+       ones if the FEATURES is the same.
+       * arch/arc.c: Implementation of prototypes described above.
+       * gdb/arc-tdep.h (arc_regnum enum): Add more registers.
+       (arc_gdbarch_features_init): Initialize the FEATURES struct.
+       * arc-tdep.c (*_feature_name): Make feature names consistent.
+       (arc_register_feature): A new struct to hold information about
+       registers of a particular target/feature.
+       (arc_check_tdesc_feature): Check if XML provides registers in
+       compliance with ARC_REGISTER_FEATURE structs.
+       (arc_update_acc_reg_names): Add aliases for r58 and r59.
+       (determine_*_reg_feature_set): Which feature name to look for.
+       (arc_gdbarch_features_init): Given MACH and ABFD, initialize FEATURES.
+       (mach_type_to_arc_isa): Convert from a set of binutils machine types
+       to expected ISA enums to be used in arc_gdbarch_features structs.
+       * features/Makefile (FEATURE_XMLFILES): Add new files.
+       * gdb/features/arc/v1-aux.c: New file.
+       * gdb/features/arc/v1-aux.xml: Likewise.
+       * gdb/features/arc/v1-core.c: Likewise.
+       * gdb/features/arc/v1-core.xml: Likewise.
+       * gdb/features/arc/v2-aux.c: Likewise.
+       * gdb/features/arc/v2-aux.xml: Likewise.
+       * gdb/features/arc/v2-core.c: Likewise.
+       * gdb/features/arc/v2-core.xml: Likewise.
+       * NEWS (Changes since GDB 9): Announce obsolence of old feature names.
+
+2020-08-25  Gaius Mulley  <gaiusmod2@gmail.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR m2/26372
+        * m2-exp.y (exp): Improve comment for non_empty_arglist case, add
+       an assert.  Remove single element array indexing pattern as the
+       MULTI_SUBSCRIPT support will handle this case too.
+
+2020-08-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * value.h (valprint_check_validity): Move declaration from
+       here...
+       * valprint.h (valprint_check_validity): ... to here.
+
+2020-08-24  Simon Marchi  <simon.marchi@efficios.com>
+
+       * debug.h: New file.
+       * debug.c (debug_prefixed_vprintf): New function.
+       * infrun.c (infrun_debug_printf_1): Use debug_prefixed_vprintf.
+       * linux-nat.c (linux_nat_debug_printf_1): Likewise.
+
+2020-08-24  Simon Marchi  <simon.marchi@efficios.com>
+
+       * infrun.h (infrun_debug_printf_1): New function declaration.
+       (infrun_debug_printf): New macro.
+       * infrun.c (infrun_debug_printf_1): Use infrun_debug_printf
+       throughout.
+       (infrun_debug_printf): New function.
+       * breakpoint.c (should_be_inserted): Use infrun_debug_printf.
+       (handle_jit_event): Likewise.
+
+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