public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Space key + gdb?
@ 2012-08-26  4:37 Charles Wilson
  2013-05-09 19:57 ` Charles Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Wilson @ 2012-08-26  4:37 UTC (permalink / raw)
  To: cygwin

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.

Any ideas?

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Space key + gdb?
  2012-08-26  4:37 Space key + gdb? Charles Wilson
@ 2013-05-09 19:57 ` Charles Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Wilson @ 2013-05-09 19:57 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-09 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-26  4:37 Space key + gdb? Charles Wilson
2013-05-09 19:57 ` Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).