This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Prompt user to report bugs
- From: Gary Benson <gbenson at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Tom Tromey <tromey at redhat dot com>
- Date: Wed, 14 May 2014 14:15:11 +0100
- Subject: Re: [PATCH] Prompt user to report bugs
- Authentication-results: sourceware.org; auth=none
- References: <20140514110742 dot GA25550 at blade dot nx> <5373634B dot 2000007 at codesourcery dot com>
Yao Qi wrote:
> On 05/14/2014 07:07 PM, Gary Benson wrote:
> > This patch prints a couple of extra lines in internal_vproblem
> > to prompt the user to report the bug that's just happened.
>
> GDB prints that when it starts.
>
> $ ./gdb
> GNU gdb (GDB) 7.7.50.20140514-cvs
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Do we want to print the same message again in internal error
> message?
Yes, I think so. The internal error could occur many thousands
of lines after the startup message is printed.
Thanks,
Gary
--
http://gbenson.net/