This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Should internal-error default to dumping core?
- To: Fernando Nasser <fnasser at redhat dot com>
- Subject: Re: Should internal-error default to dumping core?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 01 Oct 2001 11:49:06 -0400
- Cc: gdb at sources dot redhat dot com
- References: <3BB88526.8050809@cygnus.com> <3BB88AE6.F53EDC5@redhat.com>
>
> I think as long as the default when not running interactively is to dump
> core
> we are OK.
>
> Having the two defaults being reversed (n followed by a y) would be a
> little
> uncomfortable. But you could change the wording instead if you really
> want
> to change the interactive default (I sincerely hope people are not used
> to
> answer this question already [;-)] , so there wouldn't be much impact with
> the
> change).
Sorry you've lost me here. query() returns false if there is no tty.
So ``n'' ``n'' would still be the default. I'll need to change the
question so that a ``no'' indicates a core dump.
Andrew