vuuvv / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

gdb from MSYS doesn't work properly with mintty #380

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run MSYS using mintty shell.
2. Run gdb and try to use readline shortcuts, e.g. navigate the history with 
arrow keys or Ctrl+R search.

What is the expected output? What do you see instead?
Arrow keys don't change the prompt to commands from history but move the cursor 
around the screen. Gdb interprets the input wrongly and it "hangs": pressing 
enter will not cancel the input and will repeatedly give error: Undefined 
command: "".
Ctrl+R moves cursor to next line, but is otherwise ignored - entering text will 
be interpreted as command.
Other readline shortcuts like Ctrl+W or Ctrl+K don't work either.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
mintty 1.1.2 for MSYS, MSYS - latest packages retrieved on 2013-03-24 (gdb 
version is 7.5) , Windows XP SP3

Please provide any additional information below.
Everything works as expected under MSYS's default shell.

Original issue reported on code.google.com by piot...@gmail.com on 24 Mar 2013 at 7:06

GoogleCodeExporter commented 8 years ago
I just hit this same issue as well :s

Original comment by bruno.do.medeiros on 25 Sep 2013 at 12:42

GoogleCodeExporter commented 8 years ago
same issue I have now.

Original comment by maverick...@gmail.com on 23 Mar 2015 at 2:14

GoogleCodeExporter commented 8 years ago
I also see this problem with the mingw version of gdb, but the msys version 
works fine (under msys2, this is the difference between 'mingw-w32-x86_64-gdb' 
and just 'gdb').

Original comment by rpjohnst on 4 Apr 2015 at 2:32

GoogleCodeExporter commented 8 years ago
Same issue here with arm-none-eabi-gdb using MSYS2 with mintty.

Original comment by douzepo...@gmail.com on 15 Apr 2015 at 8:59

GoogleCodeExporter commented 8 years ago
Commented on https://github.com/mintty/mintty/issues/380

Original comment by towom...@googlemail.com on 30 Jul 2015 at 1:23