In this commit:
commit
ee67fd7f3f6ca78eede2862e309c0bcf266bbd7e
Date: Thu Oct 25 12:03:31 2018 +0100
gdb/riscv: Use correct regnum in riscv_linux_nat_target::fetch_registers
I incorrectly removed a set of braces in violation of the GDB coding
standard. This commit adds them back.
gdb/ChangeLog:
* riscv-linux-nat.c (riscv_linux_nat_target::fetch_registers):
Add missing braces. No functional change.
+2018-10-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-linux-nat.c (riscv_linux_nat_target::fetch_registers):
+ Add missing braces. No functional change.
+
2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* macrocmd.c (info_macro_command): Use report_unrecognized_option_error
if ((regnum == RISCV_CSR_MISA_REGNUM)
|| (regnum == -1))
- /* TODO: Need to add a ptrace call for this. */
- regcache->raw_supply_zeroed (RISCV_CSR_MISA_REGNUM);
+ {
+ /* TODO: Need to add a ptrace call for this. */
+ regcache->raw_supply_zeroed (RISCV_CSR_MISA_REGNUM);
+ }
/* Access to other CSRs has potential security issues, don't support them for
now. */