(Ada) ravenscar-thread.c: remove unwanted trailing \n in call to warning
authorJoel Brobecker <brobecker@adacore.com>
Wed, 22 Nov 2017 22:30:41 +0000 (14:30 -0800)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 22 Nov 2017 22:36:55 +0000 (14:36 -0800)
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.

gdb/ChangeLog
gdb/ravenscar-thread.c

index ddf3852cfcdf243259cdc1ad960764cab8816e8c..5323c27733be4b8a309ff7ec09ed91d9ce983cc0 100644 (file)
@@ -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.
index 30745f7caacc03f8b0f37b7aa12266e92d1e7636..c2d87838ce5f38271763d252cfc6839a113eec8f 100644 (file)
@@ -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;
     }