gdb/remote - I/O
Andrew Cagney
ac131313@cygnus.com
Thu Mar 29 16:27:00 GMT 2001
Fernando Nasser wrote:
>
> I guess Mark found a way to preserve the Request-Response nature of the
> protocol while processing input without the need of an interrupt.
>
> When the target program issues a read from the console, the stub should
> stop it and send a "T" packet with SIGTTIN (read on terminal by
> background process).
>
> This reflects what really happens. The application will probably issue
> a prompt ("O" packets) and then will need input and will have to halt
> and wait for it.
I don't think trying to overload SIGTTIN is correct. A remote UNIX
process could get that for reasons other than needing to get input from
GDB>
Andrew
More information about the Gdb
mailing list