aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-05-07 12:36:13 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-05-07 12:36:13 +0000
commit2f565103afd525574ebefa781d87d39e86dfe693 (patch)
treedc25d1d79cb2d800901c8785d5d2ec3d5c2d7c51
parent8c56e1125462717d270bcd47b3e2db4ae11fb719 (diff)
downloadgdb-2f565103afd525574ebefa781d87d39e86dfe693.zip
gdb-2f565103afd525574ebefa781d87d39e86dfe693.tar.gz
gdb-2f565103afd525574ebefa781d87d39e86dfe693.tar.bz2
rs6000-nat.c:rs6000_core_ldinfo: Remove \n at end of error message.
gdb/ChangeLog: * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of error message (ARI fix).
-rw-r--r--gdb/rs6000-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index afaac5d..1af8610 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -728,7 +728,7 @@ rs6000_core_ldinfo (bfd *abfd)
ldinfo_sec = bfd_get_section_by_name (abfd, ".ldinfo");
if (ldinfo_sec == NULL)
- error (_("cannot find .ldinfo section from core file: %s\n"),
+ error (_("cannot find .ldinfo section from core file: %s"),
bfd_errmsg (bfd_get_error ()));
ldinfo_size = bfd_get_section_size (ldinfo_sec);
@@ -737,7 +737,7 @@ rs6000_core_ldinfo (bfd *abfd)
if (! bfd_get_section_contents (abfd, ldinfo_sec,
ldinfo_buf, 0, ldinfo_size))
- error (_("unable to read .ldinfo section from core file: %s\n"),
+ error (_("unable to read .ldinfo section from core file: %s"),
bfd_errmsg (bfd_get_error ()));
discard_cleanups (cleanup);