[ARI] Remove trailing new-line in argument of call to warning.
authorJoel Brobecker <brobecker@adacore.com>
Tue, 13 Jan 2015 10:35:49 +0000 (14:35 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 13 Jan 2015 10:38:18 +0000 (14:38 +0400)
gdb/ChangeLog:

* linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
new-line in argument of call to "warning".

gdb/ChangeLog
gdb/linux-nat.c

index 6610b77c88e9afc053dcf2ecd240a3150560babf..7ee17d796610942881d138f7c14bf26ca25a759f 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
+       new-line in argument of call to "warning".
+
 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
index 5f2c176b044799f9f734b51b53b40e9c765e63aa..a8a63cf07382e5ec9fbaf6261454aea1388cb9d2 100644 (file)
@@ -1181,7 +1181,7 @@ attach_proc_task_lwp_callback (ptid_t ptid)
            }
          else
            {
-             warning (_("Cannot attach to lwp %d: %s\n"),
+             warning (_("Cannot attach to lwp %d: %s"),
                       lwpid,
                       linux_ptrace_attach_fail_reason_string (ptid,
                                                               err));