aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2018-12-17 06:52:15 +0100
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2018-12-17 06:52:15 +0100
commit4ef5dbe493310e3632354d4937727a755c13c291 (patch)
tree4564b4328b65c0d7cfa6bcb41eeb275d08155046
parent3a551c7a1b80fca579461774860574eabfd7f18f (diff)
downloadgdb-4ef5dbe493310e3632354d4937727a755c13c291.zip
gdb-4ef5dbe493310e3632354d4937727a755c13c291.tar.gz
gdb-4ef5dbe493310e3632354d4937727a755c13c291.tar.bz2
OBVIOUS: Fix ARI warning by removing warning trailing new line
2018-12-17 Philippe Waroquiers <philippe.waroquiers@skynet.be> * nat/linux-ptrace.c (kill_child): Fix ARI warning by removing warning trailing new line.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/nat/linux-ptrace.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 24d0e64..695bc05 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-17 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * nat/linux-ptrace.c (kill_child): Fix ARI warning by removing
+ warning trailing new line.
+
2018-12-16 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* nat/linux-ptrace.c (kill_child): New function.
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c
index 49a1d01..d4c1b8f 100644
--- a/gdb/nat/linux-ptrace.c
+++ b/gdb/nat/linux-ptrace.c
@@ -89,7 +89,7 @@ kill_child (pid_t child, const char *who)
if (kill (child, SIGKILL) != 0)
{
- warning (_("%s: failed to kill child pid %ld %s\n"),
+ warning (_("%s: failed to kill child pid %ld %s"),
who, (long) child, safe_strerror (errno));
return;
}