* nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
authorPierre Muller <muller@sourceware.org>
Tue, 7 May 2013 13:02:19 +0000 (13:02 +0000)
committerPierre Muller <muller@sourceware.org>
Tue, 7 May 2013 13:02:19 +0000 (13:02 +0000)
trailing new line from warning message.

gdb/ChangeLog
gdb/nios2-tdep.c

index 5fe8d425f0e3849dc09601e597fb62cb8f8e6a21..f174778d0d99d1ae1b9528067548cdf2e98331c5 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2013-05-07  Pierre Muller  <muller@sourceware.org>
 
        * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
index 055dc76900bb7f198566783677169ff52403fb56..49f8271c48b3af6a29b6886acabb14d228ae4c61 100644 (file)
@@ -150,7 +150,7 @@ nios2_dwarf_reg_to_regnum (struct gdbarch *gdbarch, int dw_reg)
 {
   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;
     }