X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "decker" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to specify the COM port for GDB remote debug Date: 23 May 2006 22:09:49 -0700 Organization: http://groups.google.com Lines: 49 Message-ID: <1148447389.101059.36590@g10g2000cwb.googlegroups.com> References: NNTP-Posting-Host: 202.3.192.11 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1148447394 17632 127.0.0.1 (24 May 2006 05:09:54 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 24 May 2006 05:09:54 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 DDA-SBS1 Complaints-To: groups-abuse AT google DOT com Injection-Info: g10g2000cwb.googlegroups.com; posting-host=202.3.192.11; posting-account=R02xJAwAAAASwE3U1qQ37KcHXmocYA_U To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk kenny wrote: > How do I specify the COM port under DOS box? You need to knnow for sure what COM port Windows put your Serail port on. XP supports the 'mode' command, so you can list the actual available DOS COMM ports. Those COM ports should be available to all DJGPP programs as '/dev/com?' where ? is your COMM number. here is an example: C:\>mode Status for device LPT1: ----------------------- Printer output is not being rerouted. Status for device COM3: ----------------------- Baud: 9600 Parity: Odd Data Bits: 8 Stop Bits: 1 Timeout: OFF XON/XOFF: OFF CTS handshaking: OFF DSR handshaking: OFF DSR sensitivity: OFF DTR circuit: ON RTS circuit: ON Status for device CON: ---------------------- Lines: 300 Columns: 80 Keyboard rate: 31 Keyboard delay: 1 Code page: 437 C:\> bash ITHACA04:d:/:bend$ cat /dev/com3 [...stuff from COM3 not very interesting here...] HTH Ben Decker www.caddit.net