2013-07-22 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Mon, 22 Jul 2013 11:42:31 +0000 (11:42 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Mon, 22 Jul 2013 11:42:31 +0000 (11:42 +0000)
* top.c (print_gdb_version): Add help, apropos description and
url to online documentation.

gdb/ChangeLog
gdb/top.c

index 89be305461b4ca53bf94a9c38341670430b504c0..82b8b83a6e35b23944f4e29bbbc1d803e6e9805e 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-22  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * top.c (print_gdb_version): Add help, apropos description and
+       url to online documentation.
+
 2013-07-19  Hui Zhu  <hui@codesourcery.com>
 
        PR gdb/15692
index 46faaa73b0eba8ece8db5331a97e8c991b99b6fb..467e6a297db11f0d3f1805e80c6f5665bb545334 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1145,8 +1145,14 @@ Type \"show configuration\" for configuration details.");
     {
       fprintf_filtered (stream,
                        _("\nFor bug reporting instructions, please see:\n"));
-      fprintf_filtered (stream, "%s.", REPORT_BUGS_TO);
+      fprintf_filtered (stream, "%s.\n", REPORT_BUGS_TO);
     }
+  fprintf_filtered (stream,
+                   _("Find the GDB manual and other documentation \
+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"));
 }
 
 /* Print the details of GDB build-time configuration.  */