This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: --with-pkgversion and --with-bugurl support for GDB
- From: Andreas Schwab <schwab at suse dot de>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sourceware dot org
- Date: Tue, 10 Jun 2008 13:57:50 +0200
- Subject: Re: --with-pkgversion and --with-bugurl support for GDB
- References: <Pine.LNX.4.64.0805191702570.19513@digraph.polyomino.org.uk> <ufxsei0tu.fsf@gnu.org> <Pine.LNX.4.64.0805191942380.1489@digraph.polyomino.org.uk> <ubq31irlm.fsf@gnu.org> <Pine.LNX.4.64.0805201608130.12876@digraph.polyomino.org.uk> <20080605202431.GK25085@caradoc.them.org> <Pine.LNX.4.64.0806052127230.9469@digraph.polyomino.org.uk>
"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."