This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix PR cli/15842


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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]