From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4580 invoked by alias); 6 Nov 2011 20:29:09 -0000 Received: (qmail 4570 invoked by uid 22791); 6 Nov 2011 20:29:08 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Nov 2011 20:28:54 +0000 Received: from wpaz1.hot.corp.google.com (wpaz1.hot.corp.google.com [172.24.198.65]) by smtp-out.google.com with ESMTP id pA6KSrbl021818 for ; Sun, 6 Nov 2011 12:28:53 -0800 Received: from ruffy.mtv.corp.google.com (ruffy.mtv.corp.google.com [172.18.110.50]) by wpaz1.hot.corp.google.com with ESMTP id pA6KSqE4015018 for ; Sun, 6 Nov 2011 12:28:52 -0800 Received: by ruffy.mtv.corp.google.com (Postfix, from userid 67641) id 151D1246194; Sun, 6 Nov 2011 12:28:51 -0800 (PST) To: gdb@sourceware.org Subject: Is readline's SIGINT handler supposed to set quit_flag? Message-Id: <20111106202852.151D1246194@ruffy.mtv.corp.google.com> Date: Sun, 06 Nov 2011 20:29:00 -0000 From: dje@google.com (Doug Evans) X-System-Of-Record: true 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: 2011-11/txt/msg00043.txt.bz2 Hi. While playing with tab-completion speedups I found that ^c never sets quit_flag, and thus QUITs in completion routines are useless (when invoked from readline). Am I missing something? [It's possible I messed up and quit_flag is indeed set, but I'm not sure what I'm missing.] Or is ^c when in readline not intended to invoke the QUIT machinery? [It may be that more is needed to make it work, I'm just a bit surprised and am looking for guidance on how things are expected to work.] e.g. (gdb) b functi<^c> Is that ^c intended to terminate all the symbol completion machinery?