From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13698 invoked by alias); 27 Nov 2006 13:42:34 -0000 Received: (qmail 13681 invoked by uid 22791); 27 Nov 2006 13:42:33 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Nov 2006 13:42:24 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-239-68.inter.net.il [84.229.239.68]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id FHT20824 (AUTH halo1); Mon, 27 Nov 2006 15:42:17 +0200 (IST) Date: Mon, 27 Nov 2006 13:42:00 -0000 Message-Id: From: Eli Zaretskii To: John Pye CC: gdb@sourceware.org In-reply-to: <456A96F3.9060605@anu.edu.au> (message from John Pye on Mon, 27 Nov 2006 18:42:43 +1100) Subject: Re: usability: exiting from GDB Reply-to: Eli Zaretskii References: <456A79B5.2020505@anu.edu.au> <456A96F3.9060605@anu.edu.au> 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/msg00174.txt.bz2 > Date: Mon, 27 Nov 2006 18:42:43 +1100 > From: John Pye > CC: gdb@sourceware.org > > About that 'ctrl-C' behaviour -- any reason why this couldn't be changed > (perhaps to do with signal handlers or somesuch)? I don't think signal handlers are the issue. I think the main problems with this are: (1) there might be asynchronous commands running even though you are sitting at the GDB prompt, and (2) due to relatively slow human reaction times, you could hit Ctrl-C to interrupt a command, but when that Ctrl-C gets to GDB the command could already be done, which will dump you out of GDB. But maybe treating Ctrl-C as q (with query) would be okay, I don't know.