gdb/riscv: expect h/w watchpoints to trigger before the memory is written
[binutils-gdb.git] / gdb / ChangeLog
index 9055a3a57f0814c139588a7fb449f928e6036923..88d76db13a18ac2b2591929910c94dd6fac7ccba 100644 (file)
@@ -1,5 +1,26 @@
+2018-10-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * riscv-tdep.c (riscv_gdbarch_init): Set the gdbarch's
+       have_nonsteppable_watchpoint attribute to 1.
+
+2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_gdb_reg_names): Update comment, and all
+       register names.
+       (struct register_alias): Rename to...
+       (struct riscv_register_alias): ...this, and update comment.
+       (riscv_register_aliases): Update type, and alias names.  Remove
+       CSR names from this list.
+       (riscv_register_name): Use riscv_gdb_reg_names for int and float
+       register names.  Add an extra assertion.
+       (riscv_is_regnum_a_named_csr): New function.
+       (riscv_register_reggroup_p): Use riscv_is_regnum_a_named_csr.
+
 2018-10-22  Jim Wilson  <jimw@sifive.com>
 
+       * riscv-tdep.c (riscv_push_dummy_call) <in_reg>: Check for value in
+       FP reg smaller than FP reg size, and fill with -1 instead of 0.
+
        * riscv-tdep.c (riscv_fpreg_d_type, riscv_fpreg_q_type): New.
        (riscv_register_type): Use them.
        (riscv_print_one_register_info): Handle union of floats same as float.