Add missing \n in `show ravenscar task-switching' output
authorJoel Brobecker <brobecker@gnat.com>
Tue, 23 Nov 2010 00:55:50 +0000 (00:55 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 23 Nov 2010 00:55:50 +0000 (00:55 +0000)
A new-line was missing at the end of the output of the `show ravenscar
task-switching' command.  For instance:

    (gdb) show ravenscar task-switching
    Support for Ravenscar task/thread switching is enabled(gdb)

This patch fixes it.

gdb/ChangeLog:

        * ravenscar-thread.c (show_ravenscar_task_switching_command):
        Add missing '\n' in output.

gdb/ChangeLog
gdb/ravenscar-thread.c

index 0ec240365adbeb7529ab78c87758a7f226170ce3..1856f749c49d1fb95c17596b8649d104c8844914 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-22  Joel Brobecker  <brobecker@adacore.com>
+
+       * ravenscar-thread.c (show_ravenscar_task_switching_command):
+       Add missing '\n' in output.
+
 2010-11-22  Joel Brobecker  <brobecker@adacore.com>
 
        * ravenscar-thread.c (running_thread_name): Change value.
index 8f1be9b7641f26bfe4b881485a05d44f3bb089a7..fcee51d109c485c36c425554af092086291d7aee 100644 (file)
@@ -411,10 +411,10 @@ show_ravenscar_task_switching_command (struct ui_file *file, int from_tty,
 {
   if (ravenscar_task_support)
     fprintf_filtered (file, _("\
-Support for Ravenscar task/thread switching is enabled"));
+Support for Ravenscar task/thread switching is enabled\n"));
   else
     fprintf_filtered (file, _("\
-Support for Ravenscar task/thread switching is disabled"));
+Support for Ravenscar task/thread switching is disabled\n"));
 }
 
 /* Module startup initialization function, automagically called by