From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27074 invoked by alias); 2 Jul 2002 12:35:08 -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 27019 invoked from network); 2 Jul 2002 12:35:04 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 2 Jul 2002 12:35:04 -0000 Received: from gruel-2-76.ppp.andrew.cmu.edu ([128.2.2.76] helo=nevyn.them.org) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17PMs0-0005hD-00; Tue, 02 Jul 2002 07:35:01 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17PMrz-00077l-00; Tue, 02 Jul 2002 08:34:59 -0400 Date: Tue, 02 Jul 2002 05:35:00 -0000 From: Daniel Jacobowitz To: Craig Rodrigues Cc: gdb@sources.redhat.com Subject: Re: gdb remote debugging, other than serial port? Message-ID: <20020702123458.GA27367@nevyn.them.org> Mail-Followup-To: Craig Rodrigues , gdb@sources.redhat.com References: <20020630094255.A13008@attbi.com> <20020701121331.A22565@saturn.billgatliff.com> <20020701224035.GA7501@nevyn.them.org> <20020701193430.A18065@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020701193430.A18065@attbi.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00023.txt.bz2 On Mon, Jul 01, 2002 at 07:34:30PM -0400, Craig Rodrigues wrote: > 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. Well, it depends what you're trying to do. You were talking about debugging a network stack, which calls for a kernel debugger, not a userspace debugger at all. Those use serial because it is a trivial polled interface and does not require a large driver. I've used a Keyspan successfully to do userlevel debugging, though - or to do the client side of kernel debugging. > 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 Yep. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer