aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2013-05-07 13:02:19 +0000
committerPierre Muller <muller@sourceware.org>2013-05-07 13:02:19 +0000
commit1e52bda604f57ab76362d7caa9f541ff9b206740 (patch)
treed0ce4d60343f572fd19bb716df92f60e42e84c9c
parent27fd0c6b3f79b9057e187644ad119eaf7227cb61 (diff)
downloadgdb-1e52bda604f57ab76362d7caa9f541ff9b206740.zip
gdb-1e52bda604f57ab76362d7caa9f541ff9b206740.tar.gz
gdb-1e52bda604f57ab76362d7caa9f541ff9b206740.tar.bz2
* nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
trailing new line from warning message.
-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;
}