This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [ARI] Remove trailing new-line in argument of call to warning.
- From: Joel Brobecker <brobecke at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 13 Jan 2015 10:38:41 -0000
- Subject: [binutils-gdb] [ARI] Remove trailing new-line in argument of call to warning.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=92fc2e6978d9a7c8324c7e851dbee59e22ec7a37
commit 92fc2e6978d9a7c8324c7e851dbee59e22ec7a37
Author: Joel Brobecker <brobecker@adacore.com>
Date: Tue Jan 13 14:36:34 2015 +0400
[ARI] Remove trailing new-line in argument of call to warning.
gdb/ChangeLog:
* nat/linux-procfs.c (linux_proc_attach_tgid_threads):
Remove trailing new-line in argument of call to warning.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/nat/linux-procfs.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7ee17d7..bb66830 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2015-01-13 Joel Brobecker <brobecker@adacore.com>
+ * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
+ Remove trailing new-line in argument of call to warning.
+
+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".
diff --git a/gdb/nat/linux-procfs.c b/gdb/nat/linux-procfs.c
index 00b6a70..5dd2b92 100644
--- a/gdb/nat/linux-procfs.c
+++ b/gdb/nat/linux-procfs.c
@@ -212,7 +212,7 @@ linux_proc_attach_tgid_threads (pid_t pid,
dir = opendir (pathname);
if (dir == NULL)
{
- warning (_("Could not open /proc/%ld/task.\n"), (long) pid);
+ warning (_("Could not open /proc/%ld/task."), (long) pid);
return;
}