gdb/riscv: Remove whitespace before #include line
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 10 Dec 2018 10:18:46 +0000 (10:18 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 10 Dec 2018 10:18:46 +0000 (10:18 +0000)
This fixes an ARI warning in riscv-tdep.c that whitespace before a

gdb/ChangeLog:

* riscv-tdep.c (riscv_register_name): Fix ARI warning by removing
leading whitespace before #include line.

gdb/ChangeLog
gdb/riscv-tdep.c

index d9cfb26442813e659477982d1cf418156d71ce95..d60dddd2ea3dde3e54ecf271e12f5e9d2d75c3b3 100644 (file)
@@ -1,3 +1,8 @@
+2018-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * riscv-tdep.c (riscv_register_name): Fix ARI warning by removing
+       leading whitespace before #include line.
+
 2018-12-08  Simon Marchi  <simon.marchi@ericsson.com>
            Дилян Палаузов  <dilyan.palauzov@aegee.org>
 
index d812b7c86937a09ca1ded885573e6986aefd89b8..5ddec703071a311d6e60dcd0a84c8c129f6c1178 100644 (file)
@@ -514,7 +514,7 @@ riscv_register_name (struct gdbarch *gdbarch, int regnum)
 
       switch (regnum)
        {
-         #include "opcode/riscv-opc.h"
+#include "opcode/riscv-opc.h"
        }
 #undef DECLARE_CSR
     }