This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
ARI fix: remove tailing new line warning in nios2-tdep.c
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb-patches at sourceware dot org>, "'Sandra Loosemore'" <sandra at codesourcery dot com>
- Date: Tue, 7 May 2013 13:50:12 +0200
- Subject: ARI fix: remove tailing new line warning in nios2-tdep.c
The commit of this morning concerning nios target
addition triggered just one small ARI warning:
trailing new line: A message should not have a trailing new line
near line 153 of nios2-tdep.c
This patch removes that warning.
Pierre Muller
as ARI maintainer
2013-05-07 Pierre Muller <muller@sourceware.org>
* nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
trailing new line from warning message.
Index: nios2-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/nios2-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 nios2-tdep.c
--- nios2-tdep.c 7 May 2013 01:09:28 -0000 1.1
+++ nios2-tdep.c 7 May 2013 10:16:20 -0000
@@ -150,7 +150,7 @@ nios2_dwarf_reg_to_regnum (struct gdbarc
{
if (dw_reg < 0 || dw_reg > NIOS2_NUM_REGS)
{
- warning (_("Dwarf-2 uses unmapped register #%d\n"), dw_reg);
+ warning (_("Dwarf-2 uses unmapped register #%d"), dw_reg);
return dw_reg;
}