Problem with COM1 port from with GDB 5.3 under cygwin 1.5.3-1

Christopher Faylor cgf@redhat.com
Wed Sep 24 18:12:00 GMT 2003


On Wed, Sep 24, 2003 at 08:25:18AM +0200, Eli Zaretskii wrote:
>If Cygwin wants /dev/com1 instead of com1, are you sure it won't want
>/dev/lpt1 instead of lpt1 as well?

Not yet.  Eventually.

>Anyway, is this a Cygwin bug or what?  IIRC, Windows supports both
>com1 and /dev/com1, so why doesn't Cygwin do that as well?

Because cygwin now has the ability to create files called "com1",
just like UNIX.  The string "com1" does get passed on to the OS
but, as a guess, it looks like cygwin isn't doing anything special
with the name and doesn't recognize it as anything more than a file.

>Also, what happens with versions of Cygwin other than 1.5.x?  Could
>they be broken by this change?

This change should work fine with older versions.  I don't think I
have the authority to approve it, though.

cgf



More information about the Gdb mailing list