* [PUSHED] gdb/riscv: Remove whitespace before #include line
@ 2018-12-10 10:21 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2018-12-10 10:21 UTC (permalink / raw)
To: gdb-patches; +Cc: Andrew Burgess
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-10 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10 10:21 [PUSHED] gdb/riscv: Remove whitespace before #include line Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).