diff options
author | Pierre Muller <muller@sourceware.org> | 2013-05-07 13:02:19 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2013-05-07 13:02:19 +0000 |
commit | 1e52bda604f57ab76362d7caa9f541ff9b206740 (patch) | |
tree | d0ce4d60343f572fd19bb716df92f60e42e84c9c | |
parent | 27fd0c6b3f79b9057e187644ad119eaf7227cb61 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/nios2-tdep.c | 2 |
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; } |