On Wed, Dec 13, 2006 at 04:45:53PM +0100, Denis PILAT wrote:
But may be it would be better to open only character device (S_ISCHR
macro) than excluding ordinary files (S_ISREG macro). It's up to you !
Good idea. FIFOs are OK too. I've committed a nicer version of this.
I took this opportunity to remove a warning on a strncpy() usage.
Why did it warn? I omitted this bit, because I don't see any reason
(or any warning).
I'm wondering about the compilation of this code under windows. I never
compiled a gdbserver on windows, is there any gdbserver hosted under
windows ?
If you were working against HEAD, you'd see that there was now - but
we don't support serial ports there, so it's not a problem. It's all
#ifdef'd out.