From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7561 invoked by alias); 1 Jul 2002 17:13:35 -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 7546 invoked from network); 1 Jul 2002 17:13:31 -0000 Received: from unknown (HELO saturn.billgatliff.com) (209.251.101.200) by sources.redhat.com with SMTP; 1 Jul 2002 17:13:31 -0000 Received: by saturn.billgatliff.com (Postfix, from userid 500) id 8E994141996; Mon, 1 Jul 2002 12:13:31 -0500 (CDT) Date: Mon, 01 Jul 2002 10:13:00 -0000 From: "William A. Gatliff" To: Craig Rodrigues Cc: gdb@sources.redhat.com Subject: Re: gdb remote debugging, other than serial port? Message-ID: <20020701121331.A22565@saturn.billgatliff.com> Reply-To: bgat@billgatliff.com References: <20020630094255.A13008@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020630094255.A13008@attbi.com>; from rodrigc@attbi.com on Sun, Jun 30, 2002 at 09:42:55AM -0400 X-SW-Source: 2002-07/txt/msg00011.txt.bz2 Craig: Well, I don't know about FreeBSD, but on my RH73 box, my USB-serial adapter didn't work. I'm not sure the problem is with gdb, however, as I didn't get minicom reliably to work either. :^( Here's a snap from my kernel log: Jul 1 11:55:36 mars kernel: hub.c: USB new device connect on bus2/1/3, assigned device number 4 Jul 1 11:55:36 mars kernel: usb.c: USB device 4 (vend/prod 0x711/0x230) is not claimed by any active driver. Jul 1 11:55:39 mars /etc/hotplug/usb.agent: Setup mct_u232 for USB product 711/230/102 Jul 1 11:55:39 mars kernel: usb.c: registered new driver serial Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for Generic Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial Driver core v1.4 Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for Magic Control Technology USB-RS232 Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for MCT/Sitecom USB-RS232 Jul 1 11:55:39 mars kernel: usbserial.c: MCT/Sitecom USB-RS232 converter detected Jul 1 11:55:39 mars kernel: usbserial.c: MCT/Sitecom USB-RS232 converter now attached to ttyUSB0 (or usb/tts/0 for devfs) Jul 1 11:55:39 mars kernel: usbserial.c: USB Serial support registered for MCT/D-Link DU-H3SP USB BAY Jul 1 11:55:39 mars kernel: mct_u232.c: v1.1:Magic Control Technology USB-RS232 converter driver But if I connect it on a null cable to ttyS0, I can't reliably send data bidirectionally. I've seen this problem before with the usbserial driver, I gave up before figuring out what the problem was... Now I'm disappointed too. Any ideas? b.g. On Sun, Jun 30, 2002 at 09:42:55AM -0400, Craig Rodrigues wrote: > Hi, > > I have a laptop computer, a Winbook N3: > > http://www.winbookcorp.com/support/n3/n3_support.html > > I have Windows XP pre-installed on it, and am interested > in installing either FreeBSD or Linux on a separate hard drive, > and using gdb to do remote debugging on another host, for > kernel/device driver development. > > This computer does not have a DB-9 or DB-25 serial port, but > it does have ports for USB, Firewire, parallel, and PS/2 port. > > Would I be able to use gdb for remote debugging over any of these > ports? I don't think I would be able to do remote debugging over > Ethernet, because I am interested in debugging network protocol > stacks. > > Thanks. > -- > Craig Rodrigues > http://www.gis.net/~craigr > rodrigc@attbi.com > -- Bill Gatliff bgat@billgatliff.com