This is the mail archive of the
mailing list for the GDB project.
Re: Problem with COM1 port from with GDB 5.3 under cygwin 1.5.3-1
- From: Christopher Faylor <cgf at redhat dot com>
- To: gdb-patches at sources dot redhat dot com, gdb at sources dot redhat dot com
- Date: Wed, 24 Sep 2003 10:08:39 -0400
- Subject: Re: Problem with COM1 port from with GDB 5.3 under cygwin 1.5.3-1
- References: <3F7099F4.email@example.com> <firstname.lastname@example.org>
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.