gdb: Add ARC target and maintainer to MAINTAINERS
[binutils-gdb.git] / gdb / ChangeLog
index a01a97fc1cbdb66889e71dbc3ac03c0ca8c85ab4..ceff808d82966d937e686f857e9189ed97244e74 100644 (file)
@@ -1,3 +1,87 @@
+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++.