delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/25/18:12:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020325180521.02382df8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Mon, 25 Mar 2002 18:10:21 -0500
To: William Hubbard <bill AT virtio DOT com>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: gdb and win32
In-Reply-To: <5.1.0.14.0.20020325145035.02294fc8@postoffice>
Mime-Version: 1.0

At 05:55 PM 3/25/2002, William Hubbard wrote:
>I am using a virtual serial port driver (from ddiusa.com) to connect gdb to a target simulation through the virtual serial ports.  gdb hangs whenever I attempt to connect.  It works fine when using the *real* serial ports, but hangs whenever I attempt to use the virtual ports.
>The virtual port software works with other win32 applications, and the docs say they drivers do not support DOS apps.  Is gdb considered a DOS app?  Does it use the win32 API to talk to the serial ports?  All I can find in the code is calls to open, read and write, not OpenFile, ReadFile or WriteFile as I would expect for a win32 application.


gdb that comes with Cygwin is not considered a DOS app.  It is a Win32 app.
The gdb code itself is ported to Win32 using the Cygwin DLL so you won't
find Win32 calls made in the gdb source.  You'll need to look at the Cygwin
DLL source to find those calls.

I haven't the foggiest idea what the problem is when using your virtual 
serial port driver.  You may need to debug gdb to find the problem.  Or
talk to the vendor and get some details about how it works and what it
expects.  That might help lead you in the right direction.





Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019