X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fmain.c;h=3649e4a22018667380237c63fedf425dfe26f531;hb=975f8708de015fb2b813edbf8b714f4777c57a41;hp=67a3d0027e13703c38668a94a426e5abe2cc1074;hpb=58cf28e860429822ab0aa93a56e130c4430df396;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/main.c b/gdb/main.c index 67a3d0027e..3649e4a220 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -28,7 +28,7 @@ #include #include #include -#include "event-loop.h" +#include "gdbsupport/event-loop.h" #include "ui-out.h" #include "interps.h" @@ -1006,7 +1006,6 @@ captured_main_1 (struct captured_main_args *context) if (print_help) { print_gdb_help (gdb_stdout); - fputs_unfiltered ("\n", gdb_stdout); exit (0); } @@ -1392,7 +1391,11 @@ For more information, type \"help\" from within GDB, or consult the\n\ GDB manual (available as on-line info or a printed manual).\n\ "), stream); if (REPORT_BUGS_TO[0] && stream == gdb_stdout) - fprintf_unfiltered (stream, _("\ -Report bugs to \"%s\".\n\ + fprintf_unfiltered (stream, _("\n\ +Report bugs to %s.\n\ "), REPORT_BUGS_TO); + if (stream == gdb_stdout) + fprintf_unfiltered (stream, _("\n\ +You can ask GDB-related questions on the GDB users mailing list\n\ +(gdb@sourceware.org) or on GDB's IRC channel (#gdb on Freenode).\n")); }