From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19027 invoked by alias); 1 Jul 2002 23:34:14 -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 19013 invoked from network); 1 Jul 2002 23:34:11 -0000 Received: from unknown (HELO dibbler.ne.client2.attbi.com) (24.61.41.247) by sources.redhat.com with SMTP; 1 Jul 2002 23:34:11 -0000 Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.11.0/8.11.0) id g61NYU018078 for gdb@sources.redhat.com; Mon, 1 Jul 2002 19:34:30 -0400 Date: Mon, 01 Jul 2002 16:34:00 -0000 From: Craig Rodrigues To: gdb@sources.redhat.com Subject: Re: gdb remote debugging, other than serial port? Message-ID: <20020701193430.A18065@attbi.com> References: <20020630094255.A13008@attbi.com> <20020701121331.A22565@saturn.billgatliff.com> <20020701224035.GA7501@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020701224035.GA7501@nevyn.them.org>; from drow@mvista.com on Mon, Jul 01, 2002 at 06:40:35PM -0400 X-SW-Source: 2002-07/txt/msg00018.txt.bz2 On Mon, Jul 01, 2002 at 06:40:35PM -0400, Daniel Jacobowitz wrote: > On Mon, Jul 01, 2002 at 12:13:31PM -0500, William A. Gatliff wrote: > > 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. :^( > > It sounded like Craig wanted to use a kernel debugger; you can't do > that over a USB-serial device. What's the reason for this? I'm not a serial interface expert, so don't really understand all the issues. FreeBSD-CURRENT has a driver called uplcom, which was ported from NetBSD: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man4/uplcom.4 It apparently can support USB serial adapters based on the Prolific PL-2303 chipset, such as: Aten UC-232A ( http://www.aten.com.tw/USB/USB_1/UC_232A.html ) ELECOM UC-SGT ( http://www2.elecom.co.jp/products/UC-SGT.html ) IOGEAR UC-232A ( http://www.iogear.com/products/product.php?Item=GUC232A ) Supposedly these cables do the RS-232 -> USB conversion, and as long as you have the correct device driver, user-level applications which use serial com ports should be able to use this. Could this potentially work with gdb if I have: - Legacy PC with serial port, running kernel, sending debug messages to serial port - New laptop with USB only, and no serial port, receiving gdb debug messages over the serial adapter -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com