[ARI] Remove trailing new-line in argument of call to warning.

gdb/ChangeLog:

	* linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
	new-line in argument of call to "warning".
This commit is contained in:
Joel Brobecker 2015-01-13 14:35:49 +04:00
parent 04dccad086
commit f71f0b0d6b
2 changed files with 6 additions and 1 deletions

View 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> 2015-01-13 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_lookup_symbol_nonlocal): If name not found * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found

View File

@ -1181,7 +1181,7 @@ attach_proc_task_lwp_callback (ptid_t ptid)
} }
else else
{ {
warning (_("Cannot attach to lwp %d: %s\n"), warning (_("Cannot attach to lwp %d: %s"),
lwpid, lwpid,
linux_ptrace_attach_fail_reason_string (ptid, linux_ptrace_attach_fail_reason_string (ptid,
err)); err));