This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: usability: exiting from GDB
- From: John Pye <john dot pye at anu dot edu dot au>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb at sourceware dot org
- Date: Mon, 27 Nov 2006 18:42:43 +1100
- Subject: Re: usability: exiting from GDB
- References: <456A79B5.2020505@anu.edu.au> <ur6vpz8mh.fsf@gnu.org>
Hi Eli
I guess the reason for that is that I think of gdb as a 'shell' that can
be exited in the same way as bash, ipython, etc.
About that 'ctrl-C' behaviour -- any reason why this couldn't be changed
(perhaps to do with signal handlers or somesuch)? Or what about
user-configurable exit confirmation -- that might be the most sensible
course of action, perhaps?
Cheers
JP
Eli Zaretskii wrote:
>> Date: Mon, 27 Nov 2006 16:37:57 +1100
>> From: John Pye <john.pye@anu.edu.au>
>>
>> I often find that in exiting GDB, which requires ctrl-D to be pressed
>> twice, I press ctrl-D three times and end up also logging out of my
>> terminal program, which is annoying.
>>
>
> Any reasons why you don't use `q'? That's one-character command, and
> it doesn't run any risk to inadvertently log you off.
>