Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Quality Quorum <qqi@theworld.com>
To: Per Dalgas Jakobsen <pdj@maridan.dk>
Cc: gdb@sources.redhat.com
Subject: Re: gdb daemon
Date: Fri, 18 Jan 2002 06:10:00 -0000	[thread overview]
Message-ID: <Pine.SGI.4.40.0201180859190.8547909-100000@shell01.TheWorld.com> (raw)
In-Reply-To: <3263F6FB8038AB4192220FA7635835DEB84A@ms12.maridan.dk>



On Fri, 18 Jan 2002, Per Dalgas Jakobsen wrote:

> Hi
>
> I have been looking around for a gdb daemon for remote debugging
> on i386 targets.
> The gdbserver doesn't seem to be exactly what I'm looking for,
> but I might have misunderstood - I hope someone can help me with this
> one:
>
> 1) I need to be able to attach a gdb to a remote target ;-)
> 2) I would like to use the "load" feature, which (if I understood it
> correctly) allows you to start debugging an application on target
> without manually uploading it to the target first (the load command
> does that for you).
> 3) I would like to be able to attach the debugger to an already
> running application on target (having the source on host).
> 4) It will be nice (but not critical) if one could include it into
> the inetd services, allowing several debugging sessions to be started
> simultaneously on the same target.
> 5) User space debugging is sufficient, but if kernel space debugging
> is also possible: COOL!!!

It seems to me that there is no way to satisfy your demands except by

1. Modifying gdbserver - to support load and attach functionality
2. Modifying gdb remote protocol and remote.c to support remote process
   listing and remote attach.

IMHO, you can pretty much get by (1)developing minor modification of
gdbserver allowing it to optionally execute `continue' upon loading
the application and (2) writing a simple script which will ftp appcode and
start it under gdb server.

It is not going to be as cool but it will cover at least 90% of your
needs with a very minor development efforts.

>
> Regards
> Per
>

Thanks,

Aleksey



      reply	other threads:[~2002-01-18 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-18  4:50 Per Dalgas Jakobsen
2002-01-18  6:10 ` Quality Quorum [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=Pine.SGI.4.40.0201180859190.8547909-100000@shell01.TheWorld.com \
    --to=qqi@theworld.com \
    --cc=gdb@sources.redhat.com \
    --cc=pdj@maridan.dk \
    /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