Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Kris Warkentin" <kewarken@qnx.com>
To: "Daniel Jacobowitz" <drow@mvista.com>
Cc: <gdb@sources.redhat.com>
Subject: Re: gdbserver implementation
Date: Thu, 10 Apr 2003 19:50:00 -0000	[thread overview]
Message-ID: <034201c2ff9a$731c5bc0$0202040a@catdog> (raw)
In-Reply-To: <20030410192626.GA18362@nevyn.them.org>

> After that, well, there's the beginnings of a target abstraction layer
> but it suffers from a lack of targets.  Feel free to change anything
> you want outside of the platform-specific code if you think it's an
> improvement, or drop me a line if there's something you want it to do.
>
> I haven't had a lot of time for gdbserver recently, but I still have
> hopes of making it do things like support limited file transfer/daemon
> mode....  Not enough round tuits.

Thanks Daniel.  We have a pretty full featured remote debug agent in our
pdebug.  It runs as a daemon on a com or network port plus it runs from
inetd.  It supports upload/download and spawning of processes on the remote,
listing of remote pids, attaching, etc.  It also supports threads and
everything else you would expect such as memory/register reads, solib
loading, etc.  Multiple gdbs SHOULD be able to talk to a single pdebug.  You
can set the targets environment to inherit from either the host or target.
We support a console so you can interact with the remote processes
stdin/stdout, etc.  We also can print meminfo on the process that shows how
the process and its libs are mapped into the address space.

There are a few problems with it though.  On an unreliable connection with a
very fast host and slow target, there are occasionally issues with
syncronization that can cause lockups (extremely rare).  The protocol is not
full duplex which exacerbates this problem.  The console channels are only
two way so stdout and stderr are merged.

I've never used gdbserver before.  How does its feature set compare to this?
We wanted to see how well gdbserver worked for us and were considering
migrating to get away from the pdebug protocol issues.

cheers,

Kris


  reply	other threads:[~2003-04-10 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10 19:17 Kris Warkentin
2003-04-10 19:26 ` Daniel Jacobowitz
2003-04-10 19:50   ` Kris Warkentin [this message]
2003-04-10 20:02     ` Kris Warkentin

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='034201c2ff9a$731c5bc0$0202040a@catdog' \
    --to=kewarken@qnx.com \
    --cc=drow@mvista.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