[patch] Fix PR cli/15842

Phil Muldoon pmuldoon@redhat.com
Fri Aug 16 10:31:00 GMT 2013


This patch fixes a regression introduced by me when adding further
help text prompts.  It forced the symbol reading prompt ".." onto a
newline when GDB is started with a an inferior.  The fix just removes
the erroneous newline my previous patch introduced.

Tested on Fedora 17, x86_64.

OK to commit?

Cheers,

Phil

2013-08-16  Phil Muldoon  <pmuldoon@redhat.com>

	* top.c (print_gdb_version): Remove erroneous newline after help
	text.

--

diff --git a/gdb/top.c b/gdb/top.c
index 516ffb9..bb71263 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1153,7 +1153,7 @@ Type \"show configuration\" for configuration details.");
 resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"));
   fprintf_filtered (stream, _("For help, type \"help\".\n"));
   fprintf_filtered (stream, _("Type \"apropos word\" to search for \
-commands related to \"word\".\n"));
+commands related to \"word\"."));
 }
 
 /* Print the details of GDB build-time configuration.  */



More information about the Gdb-patches mailing list