This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Don't assume the name of Windows serial devices?


On Fri, Mar 28, 2008 at 10:37:42AM -0400, Carlos O'Donell wrote:
>
> Is there any reason we restrict the Windows serial device names to "COM?" 
> A user could have serial boards, com ports higher than 9 (\\.\COMX), or 
> weird file devices that act like serial ports.
>
> The following patch removes the code that rejects devices that don't  
> start with the word "COM".
>
> Comments?

I don't think weird file devices will act enough like serial ports for
things to work just right, but I don't see the need for the
restriction either - hopefully no one tries to open random junk
with target remote :-)

> 2008-03-28  Carlos O'Donell  <carlos@codesourcery.com>
> 
> 	* ser-mingw.c (ser_windows_open): Open requested name.

OK.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]