Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Craig Rodrigues <rodrigc@attbi.com>
To: gdb@sources.redhat.com
Subject: Re: gdb remote debugging, other than serial port?
Date: Mon, 01 Jul 2002 16:34:00 -0000	[thread overview]
Message-ID: <20020701193430.A18065@attbi.com> (raw)
In-Reply-To: <20020701224035.GA7501@nevyn.them.org>; from drow@mvista.com on Mon, Jul 01, 2002 at 06:40:35PM -0400

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


  reply	other threads:[~2002-07-01 23:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-30  6:42 Craig Rodrigues
2002-06-30  8:18 ` Daniel Jacobowitz
2002-06-30  9:04   ` Craig Rodrigues
2002-06-30 11:29     ` William A. Gatliff
2002-07-01 10:13 ` William A. Gatliff
2002-07-01 15:40   ` Daniel Jacobowitz
2002-07-01 16:34     ` Craig Rodrigues [this message]
2002-07-02  5:35       ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020701193430.A18065@attbi.com \
    --to=rodrigc@attbi.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox