As Petr Hluzín wrote:

> Note: We should be able to detect whether GDB is trying to push
> remote packets on stdin or not - when/if proper select() mechanism
> is implemented. So we might live without the option.

Wouldn't it make sense to default to "GDB remote" behaviour if both,
stdin and stdout are found to not be connected to a tty, and no
--gdbserver option has been specified?  This can simply be probed
using isatty(), which is reasonably portable.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to