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 d9cfb26..d60dddd 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 d812b7c..5ddec70 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
     }