From: Joel Brobecker Date: Tue, 7 May 2013 12:36:13 +0000 (+0000) Subject: rs6000-nat.c:rs6000_core_ldinfo: Remove \n at end of error message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f565103afd525574ebefa781d87d39e86dfe693;p=binutils-gdb.git 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). --- diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index afaac5da319..1af8610b13b 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);