This is the mail archive of the gdb@sources.redhat.com 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]

Re: Should internal-error default to dumping core?


> 
> 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



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