[1/2,ARI] Remove trailing new-line in argument of call to warning.
Commit Message
gdb/ChangeLog:
* linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
new-line in argument of call to "warning".
---
gdb/ChangeLog | 5 +++++
gdb/linux-nat.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
@@ -1,5 +1,10 @@
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
in static block, then try searching for primitive types.
@@ -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));