This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB support for stdin on remote targets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]