This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: usability: exiting from GDB
The whole thing is that gdb is like a shell. And shells can be exited by
typing ctrl-D. It's about consistency with other similar tools. That's
my feeling, anyway.
Joel Brobecker wrote:
>> I think that the 'Quit' message is great. But instead of *suggesting*,
>> it should ask for confirmation: "Ctrl-C pressed from GDB console. Do you
>> want to exit? (y or n)". Then this confirmation could be turned off
>> somewhere in the configuration settings.
>>
>
> I must say, as a user, this behavior would sure surprise me. I don't
> understand what the problem is with hitting 'q' followed by Enter.
> When you think about it, the suggestion above makes it even longer
> than it already is.
>
>