From: Joel Brobecker Date: Tue, 13 Jan 2015 10:35:49 +0000 (+0400) Subject: [ARI] Remove trailing new-line in argument of call to warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f71f0b0d6b1214d4ee8466baa9d98f345de98cbd;p=binutils-gdb.git [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". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6610b77c88e..7ee17d79661 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-01-13 Joel Brobecker + + * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing + new-line in argument of call to "warning". + 2015-01-13 Joel Brobecker * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 5f2c176b044..a8a63cf0738 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -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));