From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29563 invoked by alias); 29 Nov 2006 14:12:53 -0000 Received: (qmail 29529 invoked by uid 22791); 29 Nov 2006 14:12:49 -0000 X-Spam-Check-By: sourceware.org Received: from centrmmtao01.cox.net (HELO centrmmtao01.cox.net) (70.168.83.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Nov 2006 14:12:36 +0000 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by centrmmtao01.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20061129141241.BGTT27551.centrmmtao01.cox.net@eastrmimpo02.cox.net>; Wed, 29 Nov 2006 09:12:41 -0500 Received: from black ([70.181.32.198]) by eastrmimpo02.cox.net with bizsmtp id seBY1V00A4GV2Jm0000000; Wed, 29 Nov 2006 09:11:32 -0500 Received: from bob by black with local (Exim 4.62) (envelope-from ) id 1GpQAr-00086g-5j; Wed, 29 Nov 2006 09:12:33 -0500 Date: Wed, 29 Nov 2006 14:12:00 -0000 From: Bob Rossi To: John Pye , Joel Brobecker , Andrew STUBBS , gdb@sourceware.org Subject: Re: usability: exiting from GDB Message-ID: <20061129141233.GA29477@cox.net> References: <456A79B5.2020505@anu.edu.au> <456AFA30.80508@st.com> <456CFDF8.10408@anu.edu.au> <20061129050452.GK9968@adacore.com> <456D33C6.4050407@anu.edu.au> <20061129133748.GC28834@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061129133748.GC28834@nevyn.them.org> User-Agent: Mutt/1.5.12-2006-07-14 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00222.txt.bz2 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. Bob Rossi