GDB support for stdin on remote targets

Graeme Peterson gp@qnx.com
Thu Jan 10 02:01:00 GMT 2002


Hi.

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.

Cheers.
GP


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list