This is the mail archive of the
mailing list for the Cygwin project.
Re: Space key + gdb?
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Thu, 09 May 2013 15:56:46 -0400
- Subject: Re: Space key + gdb?
- References: <503942DD dot 8030907 at cwilson dot fastmail dot fm>
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
If enabled, gdb breaks. If commented out (as below), then gdb works:
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple