From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29948 invoked by alias); 29 Jun 2005 00:58:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29182 invoked by uid 22791); 29 Jun 2005 00:58:09 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 00:58:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DnQtz-0004E4-LQ; Tue, 28 Jun 2005 20:58:07 -0400 Date: Wed, 29 Jun 2005 00:58:00 -0000 From: Daniel Jacobowitz To: Paul Breed Cc: gdb@sources.redhat.com Subject: Re: GDB Remote network strangeness... Message-ID: <20050629005807.GA16202@nevyn.them.org> Mail-Followup-To: Paul Breed , gdb@sources.redhat.com References: <6.0.0.22.2.20050628165217.0252ce50@mail.netburner.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20050628165217.0252ce50@mail.netburner.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00301.txt.bz2 On Tue, Jun 28, 2005 at 04:58:15PM -0700, Paul Breed wrote: > I'm using cross GDB with a remote stub over TCP. > > When I use it on a windows XP machine with hardware serial ports it works > fine. > > When I use it on an XP laptop with a USB serial port adaptor it does not > work. > > If I unplug the usb serial adaptor it does work. > > The strange part is that I'm using a TCP connection, gdb is not using the > serial port at all, > yet it seams that the remote protocol stuff (origionally written for serial > I/O)is still doing something > with the serial subsystem when in TCP mode. > > I've looked at the remote target stuff and it looks fairly tightly coupled > to the > serial system with a hack like bypass to use TCP when TCP is specified. > > Anyone have any ideas on how to remove this serial glich > I'm about to start tearing into the code and am open for suggestions as to > where to look. Not I... that's really bizarre! -- Daniel Jacobowitz CodeSourcery, LLC