GDB support for stdin on remote targets

Graeme Peterson
Thu Jan 10 02:01:00 GMT 2002


I am implementing a remote stub, and one of the things I
am having trouble with is the remote stdin.

There does not appear to be a generic GDB mechanism for
doing this, (or I just haven't found it), and the best I 
have come up with (so far) is to add the STDIN fd to the 
select() in ser-unix.c.  This only works for those connections 
(like TCPIP) that go through that code path.

Any suggestions?  Basically I want to be able to respond to
a getch() in the inferior.


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list