]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Minor formatting fixes in riscv-tdep.h
authorTom Tromey <tom@tromey.com>
Thu, 9 Aug 2018 16:46:01 +0000 (10:46 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 9 Aug 2018 17:42:57 +0000 (11:42 -0600)
This fixes some minor formatting issues in riscv-tdep.h, including one
pointed out by ARI.

ChangeLog
2018-08-09  Tom Tromey  <tom@tromey.com>

* riscv-tdep.h: Minor formatting fixes.

gdb/ChangeLog
gdb/riscv-tdep.h

index 0a0529925273fbeee61e1e75b56f7521855ca498..b405915c43d34df7cac9bbe4172871764c9134df 100644 (file)
@@ -1,3 +1,7 @@
+2018-08-09  Tom Tromey  <tom@tromey.com>
+
+       * riscv-tdep.h: Minor formatting fixes.
+
 2018-08-09  Simon Marchi  <simon.marchi@ericsson.com>
 
        * common/scoped_mmap.c (mmap_file): Silence ARI warning.
index 85911169221c43cdd4c2aef07fef1d8f6190fc9f..8358d4e00baf7eee0b8f584d8dd4ba6be9cbcdb0 100644 (file)
@@ -1,4 +1,5 @@
-/* Target-dependent header for the RISC-V architecture, for GDB, the GNU Debugger.
+/* Target-dependent header for the RISC-V architecture, for GDB, the
+   GNU Debugger.
 
    Copyright (C) 2018 Free Software Foundation, Inc.
 
@@ -39,7 +40,8 @@ enum
   RISCV_LAST_FP_REGNUM = 64,   /* Last Floating Point Register */
 
   RISCV_FIRST_CSR_REGNUM = 65,  /* First CSR */
-#define DECLARE_CSR(name, num) RISCV_ ## num ## _REGNUM = RISCV_FIRST_CSR_REGNUM + num,
+#define DECLARE_CSR(name, num) \
+  RISCV_ ## num ## _REGNUM = RISCV_FIRST_CSR_REGNUM + num,
 #include "opcode/riscv-opc.h"
 #undef DECLARE_CSR
   RISCV_LAST_CSR_REGNUM = 4160,
@@ -80,7 +82,7 @@ struct gdbarch_tdep
 extern int riscv_isa_xlen (struct gdbarch *gdbarch);
 
 /* Single step based on where the current instruction will take us.  */
-extern std::vector<CORE_ADDR>
-riscv_software_single_step (struct regcache *regcache);
+extern std::vector<CORE_ADDR> riscv_software_single_step
+  (struct regcache *regcache);
 
 #endif /* RISCV_TDEP_H */