This is the mail archive of the
mailing list for the GDB project.
Re: usability: exiting from GDB
On Wed, Nov 29, 2006 at 08:37:48AM -0500, 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.
Agreed. I for one do _not_ expect GDB to exit when I type ^c at the
prompt. GDB already has the correct behavior in terms of ^c and ^d.
That is, it behaves like bash.