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]

Re: --with-pkgversion and --with-bugurl support for GDB


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> @@ -1154,6 +1154,13 @@ and \"show warranty\" for details.\n");
>        fprintf_filtered (stream, "%s", host_name);
>      }
>    fprintf_filtered (stream, "\".");
> +
> +  if (REPORT_BUGS_TO[0])
> +    {
> +      fprintf_filtered (stream, 
> +			_("\nFor bug reporting instructions, please see:\n"));
> +      fprintf_filtered (stream, "%s.\n", REPORT_BUGS_TO);

print_gdb_version is not supposed to print a final newline, see its uses
in captured_main.  Committed as obvious.

Andreas.

2008-06-10  Andreas Schwab  <schwab@suse.de>

	* top.c (print_gdb_version): Don't print final newline.

--- gdb/top.c.~1.142.~	2008-06-06 10:04:20.000000000 +0200
+++ gdb/top.c	2008-06-10 13:43:35.000000000 +0200
@@ -1159,7 +1159,7 @@ and \"show warranty\" for details.\n");
     {
       fprintf_filtered (stream, 
 			_("\nFor bug reporting instructions, please see:\n"));
-      fprintf_filtered (stream, "%s.\n", REPORT_BUGS_TO);
+      fprintf_filtered (stream, "%s.", REPORT_BUGS_TO);
     }
 }
 

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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