aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/nios2-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5fe8d42..f174778 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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)
(PC_SOLIB): Change type from ari_deprecate to ari_regression.
diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c
index 055dc76..49f8271 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;
}