From: Jonathan Hills <bluemooseking@gm...> - 2008-06-02 18:30:21
I'm having some trouble with my terminal (MSYS). I believe I've got
decent versions of mingw and msys for my XP machine as you can see
$ uname -a
MINGW32_NT-5.1 CAOTTN05122 1.0.11(0.46/3/2) 2007-12-05 00:35 i686 unknown
I have an issue where I cannot pass any input to the program running
in my msys terminal. When a program (in this case gdb) pauses to get a
response from stdin, the function returns immediately and the default
option is taken. below is an example. I cannot make the breakpoint
pending in this case because something answered on my behalf. I don't
have any other examples of this with programs other than GDB right
now, but I'm open to trying stuff
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
(gdb) break nofile:1
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
(gdb) No source file named nofile in loaded symbols.
Does anyone have any idea?
I edited my msys.bat file to skip rxvt.exe in favour of sh.exe. Now I can
use gdb and I can set all the pending breakpoints I want
Aaron W. LaFramboise-2 wrote:
> This is probably due to a known issue with GDB not working well in RXVT.
> Try using a normal console or console emulator such as Console 2.
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> MinGW-users mailing list
> You may change your MinGW Account Options or unsubscribe at:
View this message in context: http://www.nabble.com/Having-trouble-with-stdin--pipes--tp17607818p17648478.html
Sent from the MinGW - User mailing list archive at Nabble.com.