This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Fix PR cli/15842
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 16 Aug 2013 11:31:36 +0100
- Subject: [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. */