From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5940 invoked by alias); 27 Nov 2006 05:38:19 -0000 Received: (qmail 5802 invoked by uid 22791); 27 Nov 2006 05:38:18 -0000 X-Spam-Check-By: sourceware.org Received: from out2.smtp.messagingengine.com (HELO out2.smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Nov 2006 05:38:12 +0000 Received: from db2.internal (db2.internal [10.202.2.12]) by out1.messagingengine.com (Postfix) with ESMTP id DA21346CD3 for ; Mon, 27 Nov 2006 00:38:11 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by db2.internal (MEProxy); Mon, 27 Nov 2006 00:38:11 -0500 Received: from [150.203.42.12] (stg-02.anu.edu.au [150.203.42.12]) by mail.messagingengine.com (Postfix) with ESMTP id 2140414F44 for ; Mon, 27 Nov 2006 00:38:10 -0500 (EST) Message-ID: <456A79B5.2020505@anu.edu.au> Date: Mon, 27 Nov 2006 05:38:00 -0000 From: John Pye User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: gdb@sourceware.org Subject: usability: exiting from GDB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00171.txt.bz2 Hi all GDB is a great tool that efficiently does what it needs to do, and I use it almost every day. But there's something about it that annoys be every single time I use it. I wonder if this is something that other people find, and if so, perhaps there's solution? What I would like is that (a) the 'ctrl-C' behaviour from the gdb prompt was changed so that instead of (I think uselessly) outputting 'Quit' and bringing up another prompt line, it actually *did* quit GDB. Or, alternatively, (b) that the following prompted could somehow be persistently disabled: "The program is running. Exit anyway? (y or n)". 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. Another issue is that after exiting GDB via ctrl-D-ctrl-D, GDB doesn't output a newline, which causes the following bash input line to be messed up. I realise that this is a long-winded email about a very minor issue. Humour me? Cheers JP