X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=k6RdA0kB74W47jF4FVwOOpAcX7YM9PxgkkLSNFAP4OA fA0QEmT+dimhJaWeOrsg3GpDzuNsKsLQAcVHo1EQkzSBnQQC5aJpnlI5olTV7TjG lWtrjsXpnDZubVm6u/8g4xW73GgkrMGCVThMQ8oOt0N39Fe3nnTYwKUIGFvxlb3I = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=SI2E71Jd+20A9CHjAPoTGgxeSEU=; b=a/Wac89ZiShQkP0qd wFwEw6k/Oda99lN7H0ELENuP91DwB5cGjmsUxwhlfvWKjpfzTcskx2i3ggL8I3Lc aBFw++RflH6bqQx9QUd2/5ikQEst8PARgiD44dWdbJCKyZMrrqGU4ArKXoA2MJsQ QcRm5oJh5MC4uw5pcnz6KLURq0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_RX autolearn=ham version=3.3.1 Message-ID: <518BFF7E.2050809@cwilson.fastmail.fm> Date: Thu, 09 May 2013 15:56:46 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Space key + gdb? References: <503942DD DOT 8030907 AT cwilson DOT fastmail DOT fm> In-Reply-To: <503942DD.8030907@cwilson.fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 8/25/2012 5:25 PM, Charles Wilson wrote: > So I was trying to debug why my new build of rxvt-unicode crashes as > soon as I try to do anything interesting, and found that gdb was > unusable. I was trying to type 'set args' but the space key would not work. > > No, it's not my keyboard. > > In the same terminal, I can type spaces all day long, but as soon as I > start gdb, /gdb/ won't recognize them. I can get the same behavior in a > cygwin shell in a dosbox, or in (old, non unicode)rxvt, or in mintty. I was still seeing this behavior, on both 32- and 64-bit cygwin, in each of the modes above. I found that deleting my ~/.inputrc and replacing it with /etc/skel/.inputrc fixed the problem. Apparently, the culprit was: # 'Magic Space' # Insert a space character then performs # a history expansion in the line Space: magic-space If enabled, gdb breaks. If commented out (as below), then gdb works: #Space: magic-space -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple