[PUSHED] gdb/riscv: Remove whitespace before #include line

Andrew Burgess andrew.burgess@embecosm.com
Mon Dec 10 10:21:00 GMT 2018


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    | 5 +++++
 gdb/riscv-tdep.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c
index d812b7c8693..5ddec703071 100644
--- a/gdb/riscv-tdep.c
+++ b/gdb/riscv-tdep.c
@@ -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
     }
-- 
2.14.5



More information about the Gdb-patches mailing list