aboutsummaryrefslogtreecommitdiff
path: root/gdb/ravenscar-thread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-11-23 00:55:50 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-11-23 00:55:50 +0000
commitb64edec4297f4bd298f0611dd9306cfa4db19305 (patch)
tree0743ffe7fe1de82552bb8d4f253a43652ed88b81 /gdb/ravenscar-thread.c
parent7f39f34a0e93237960f3be8b8cf3858b4d5ae448 (diff)
downloadgdb-b64edec4297f4bd298f0611dd9306cfa4db19305.zip
gdb-b64edec4297f4bd298f0611dd9306cfa4db19305.tar.gz
gdb-b64edec4297f4bd298f0611dd9306cfa4db19305.tar.bz2
Add missing \n in `show ravenscar task-switching' output
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.
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r--gdb/ravenscar-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 8f1be9b..fcee51d 100644
--- a/gdb/ravenscar-thread.c
+++ b/gdb/ravenscar-thread.c
@@ -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