* [pushed/ARI] (Ada) ravenscar-thread.c: remove unwanted trailing \n in call to warning
@ 2017-11-22 22:38 Joel Brobecker
0 siblings, 0 replies; only message in thread
From: Joel Brobecker @ 2017-11-22 22:38 UTC (permalink / raw)
To: gdb-patches
Hello,
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.
pushed to master.
Thank you,
--
Joel
---
gdb/ChangeLog | 5 +++++
gdb/ravenscar-thread.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ddf3852cfc..5323c27733 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-22 Joel Brobecker <brobecker@adacore.com>
+
+ * ravenscar-thread.c (ravenscar_inferior_created): Remove
+ trailing newline at end of string in call to warning.
+
2017-11-22 Simon Marchi <simon.marchi@polymtl.ca>
* osdata.h: Include vector isntead of vec.h.
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 30745f7caa..c2d87838ce 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;
}
--
2.11.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-22 22:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 22:38 [pushed/ARI] (Ada) ravenscar-thread.c: remove unwanted trailing \n in call to warning Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).