This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Tue May 7 01:52:01 UTC 2013 in -D 2013-05-07-gmt


> On Tue, May 07, 2013 at 01:52:01AM +0000, GDB Administrator wrote:
> > > gdb/rs6000-nat.c:731: gettext: trailing new line: A message should not have a trailing new line
> > gdb/rs6000-nat.c:731:    error (_("cannot find .ldinfo section from core file: %s\n"),
> > > gdb/rs6000-nat.c:740: gettext: trailing new line: A message should not have a trailing new line
> > gdb/rs6000-nat.c:740:    error (_("unable to read .ldinfo section from core file: %s\n"),
> 
> These are the only new failures. I will fix momentarily.

Fixed thusly.

gdb/ChangeLog:

        * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
        error message (ARI fix).

-- 
Joel
>From b8a3cd212533a965978d75745cc67a9868dfd4eb Mon Sep 17 00:00:00 2001
From: Joel Brobecker <brobecker@adacore.com>
Date: Tue, 7 May 2013 08:32:35 -0400
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 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);
-- 
1.7.0.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]