This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: usability: exiting from GDB
Hi again
I have been reading the thread, yes. But my last post wasn't expressed
very clearly, sorry.
The ctrl-D behaviour is what I would prefer, certainly, and this would
be more shell-like. But I don't like the confirmation question "Exit
anyway?".
The hook-quit thing does turn off the confirmation in the case of the
"q" command, but *does not* work for the ctrl-D exit method.
I guess the main thing is to get the ctrl-D functionality right.
Presuming that others agree that this change would be desirable?
I find the ctrl-C behaviour unhelpful (ie suggesting I quit instead of
asking me if I'd like to go ahead and do it) but it's not important really.
Cheers
Daniel Jacobowitz wrote:
> On Wed, Nov 29, 2006 at 06:16:22PM +1100, John Pye wrote:
>
>> 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.
>>
>
> Did you read the previous replies to your message? Shells don't exit
> when you press C-c and it would be upsetting to at least some users if
> GDB did; it does exit if you press C-d at a prompt.
>
>
Daniel Jacobowitz wrote:
> On Wed, Nov 29, 2006 at 06:16:22PM +1100, John Pye wrote:
>
>> 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.
>>
>
> Did you read the previous replies to your message? Shells don't exit
> when you press C-c and it would be upsetting to at least some users if
> GDB did; it does exit if you press C-d at a prompt.
>
>