From 2f565103afd525574ebefa781d87d39e86dfe693 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 7 May 2013 12:36:13 +0000 Subject: [PATCH] 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). --- gdb/rs6000-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2