]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
gdb/riscv: Improve support for matching against target descriptions
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 0a8a6b69580ba2b7c3e3a593af89a98d003826f3..2550d640478ffc5662f4212594b69e8cb4f862bc 100644 (file)
@@ -1,3 +1,44 @@
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (value_of_riscv_user_reg): Moved to here from later
+       in the file.
+       (class riscv_pending_register_alias): Likewise.
+       (riscv_register_feature::register_info): Change 'required_p' field
+       to 'required', and change its type.  Add 'check' member function.
+       (riscv_register_feature::register_info::check): Define new member
+       function.
+       (riscv_xreg_feature): Change initialisation of 'required' field.
+       (riscv_freg_feature): Likewise.
+       (riscv_virtual_feature): Likewise.
+       (riscv_csr_feature): Likewise.
+       (riscv_check_tdesc_feature): Take extra parameter, the csr
+       tdesc_feature, rewrite the function to use the new
+       riscv_register_feature::register_info::check function.
+       (riscv_gdbarch_init): Pass the csr tdesc_feature where needed.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * features/Makefile: Remove all references to the deleted files
+       below.
+       * features/riscv/32bit-csr.c: Deleted.
+       * features/riscv/32bit-csr.xml: Deleted.
+       * features/riscv/64bit-csr.c: Deleted.
+       * features/riscv/64bit-csr.xml: Deleted.
+       * features/riscv/rebuild-csr-xml.sh: Deleted.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (struct riscv_register_feature::register_info): Fix
+       whitespace error for declaration of names member variable.
+       (struct riscv_register_feature): Add new prefer_first_name member
+       variable, and fix whitespace error in declaration of registers.
+       (riscv_xreg_feature): Initialize prefer_first_name field.
+       (riscv_freg_feature): Likewise.
+       (riscv_virtual_feature): Likewise.
+       (riscv_csr_feature): Likewise.
+       (riscv_register_name): Expand on comments.  Remove register name
+       modifications for CSR and virtual registers.
+
 2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * riscv-tdep.c (struct riscv_register_feature): Fix whitespace