diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5fe8d425f0e..f174778d0d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-05-07 Pierre Muller + + * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove + trailing new line from warning message. + 2013-05-07 Pierre Muller * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK) diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c index 055dc76900b..49f8271c48b 100644 --- a/gdb/nios2-tdep.c +++ b/gdb/nios2-tdep.c @@ -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; }