aboutsummaryrefslogtreecommitdiff
path: root/gdb/ravenscar-thread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2017-11-22 14:30:41 -0800
committerJoel Brobecker <brobecker@adacore.com>2017-11-22 14:36:55 -0800
commit8f6cb6c33815f38b41e1e93e59f12869db07c070 (patch)
tree61542e0801933f571210940f7e7387dc3a170460 /gdb/ravenscar-thread.c
parent479f8de1b3b7e69ca8d557bbe9d843c7d1bc89c5 (diff)
downloadgdb-8f6cb6c33815f38b41e1e93e59f12869db07c070.zip
gdb-8f6cb6c33815f38b41e1e93e59f12869db07c070.tar.gz
gdb-8f6cb6c33815f38b41e1e93e59f12869db07c070.tar.bz2
(Ada) ravenscar-thread.c: remove unwanted trailing \n in call to warning
A recent patch introduced a call to warning, and the string used had a trailing newline, which is not correct; the nightly ARI run caught it, so this patch removes it. gdb/ChangeLog: * ravenscar-thread.c (ravenscar_inferior_created): Remove trailing newline at end of string in call to warning. Tested on powerpc-eabispe, no regression.
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r--gdb/ravenscar-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 30745f7..c2d8783 100644
--- a/gdb/ravenscar-thread.c
+++ b/gdb/ravenscar-thread.c
@@ -537,7 +537,7 @@ ravenscar_inferior_created (struct target_ops *target, int from_tty)
err_msg = ada_get_tcb_types_info ();
if (err_msg != NULL)
{
- warning (_("%s. Task/thread support disabled.\n"), err_msg);
+ warning (_("%s. Task/thread support disabled."), err_msg);
return;
}