ARI fix: remove tailing new line warning in nios2-tdep.c
Pierre Muller
pierre.muller@ics-cnrs.unistra.fr
Tue May 7 11:50:00 GMT 2013
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;
}
More information about the Gdb-patches
mailing list