aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-01-13 14:35:49 +0400
committerJoel Brobecker <brobecker@adacore.com>2015-01-13 14:38:18 +0400
commitf71f0b0d6b1214d4ee8466baa9d98f345de98cbd (patch)
tree5fd5d83da0d92f4b5de3b7f8eddd8b1fab399f1f /gdb
parent04dccad086aa9974fb66f8b5d1c1fb32d5a6ae0e (diff)
downloadgdb-f71f0b0d6b1214d4ee8466baa9d98f345de98cbd.zip
gdb-f71f0b0d6b1214d4ee8466baa9d98f345de98cbd.tar.gz
gdb-f71f0b0d6b1214d4ee8466baa9d98f345de98cbd.tar.bz2
[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".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/linux-nat.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6610b77..7ee17d7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 5f2c176b..a8a63cf 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));