]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ARI fixes: Messages should have no trailing new lines.
authorPierre Muller <muller@sourceware.org>
Fri, 18 Mar 2011 13:09:47 +0000 (13:09 +0000)
committerPierre Muller <muller@sourceware.org>
Fri, 18 Mar 2011 13:09:47 +0000 (13:09 +0000)
* darwin-nat.c (mach_check_error): Remove trailing new line from
warning function call message.
* record.c (bfdcore_read): Idem for error call.

gdb/ChangeLog
gdb/darwin-nat.c
gdb/record.c

index 65771e5706f9db97391c0d699a32e2adc9e1e957..60f9fd79541bb5a6b64142c6c37f66943618afac 100644 (file)
@@ -1,3 +1,10 @@
+2011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       ARI fixes: Messages should have no trailing new lines.
+       * darwin-nat.c (mach_check_error): Remove trailing new line from
+       warning function call message.
+       * record.c (bfdcore_read): Idem for error call.
+
 2011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * common/signals.c (target_signal_from_host): Add _ markup to error
index 4e316bb5b70ba042c98450dca5002779536184ea..7be85d5870136dcb1b76968447c2defb9db9d66e 100644 (file)
@@ -196,7 +196,7 @@ mach_check_error (kern_return_t ret, const char *file,
   if (func == NULL)
     func = _("[UNKNOWN]");
 
-  warning (_("Mach error at \"%s:%u\" in function \"%s\": %s (0x%lx)\n"),
+  warning (_("Mach error at \"%s:%u\" in function \"%s\": %s (0x%lx)"),
           file, line, func, mach_error_string (ret), (unsigned long) ret);
 }
 
index 7cc26da3042aee334becef5e081706757923ed21..119503893ff41c159ad9f23e1271e89d4e79d4f7 100644 (file)
@@ -2154,7 +2154,7 @@ bfdcore_read (bfd *obfd, asection *osec, void *buf, int len, int *offset)
   if (ret)
     *offset += len;
   else
-    error (_("Failed to read %d bytes from core file %s ('%s').\n"),
+    error (_("Failed to read %d bytes from core file %s ('%s')."),
           len, bfd_get_filename (obfd),
           bfd_errmsg (bfd_get_error ()));
 }