Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Craig Rodrigues <rodrigc@attbi.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdb remote debugging, other than serial port?
Date: Tue, 02 Jul 2002 05:35:00 -0000	[thread overview]
Message-ID: <20020702123458.GA27367@nevyn.them.org> (raw)
In-Reply-To: <20020701193430.A18065@attbi.com>

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


      reply	other threads:[~2002-07-02 12:35 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
2002-07-02  5:35       ` Daniel Jacobowitz [this message]

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=20020702123458.GA27367@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=rodrigc@attbi.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