From 1e52bda604f57ab76362d7caa9f541ff9b206740 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 7 May 2013 13:02:19 +0000 Subject: [PATCH] * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove trailing new line from warning message. --- gdb/ChangeLog | 5 +++++ gdb/nios2-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.30.2