[patch] increase number of com ports on windows
Martin M. Hunt
hunt@redhat.com
Tue Feb 4 07:23:00 GMT 2003
Theoretically this patch will remove the hard-coded limit of 9 com ports
recognized by Insight on windows. I don't know how to get a list of
valid ports, so the new code just keeps incrementing the port number and
trying to open the port until an open fails. If anyone has more than 4
serial ports, I would appreciate it if you would test this.
2003-02-03 Martin M. Hunt <hunt@redhat.com>
* library/targetselection.itb (TargetSelection::port_list): Keep
checking ports on Windows until we can open no more. Replaces
fixed limit of 9.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/insight/attachments/20030204/1c8b7d07/attachment.bin>
More information about the Insight
mailing list