From: Marc Khouzam <marc@khouzam.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Multi-Process Mode for gdbserver
Date: Tue, 06 May 2008 01:38:00 -0000 [thread overview]
Message-ID: <803815B8DB5071438A047CB187B98880F95109F3DD@BL2PRD0001MB022.prod.exchangelabs.com> (raw)
Hi,
I'm interested in using the Multi-Process Mode for gdbserver to attach and detach from running processes.
From what I read in the doc, which I then tried, I can start a gdbserver with --multi and I can have gdb
tell it to attach/detach to a running process. This is really cool.
From what I gather though, there is no monitor command to list the processes that are available
where gdbserver is running. Is there a good reason for that, or is it just that no one has had the time?
If it is a missing patch, then I am willing to look into implementing this. However, I wonder how to deal
with the fact that such a function is OS dependent. Personally, I want it for Linux. Is it ok
to try to enhance gdbserver to have "monitor list processes" but only for Linux? And if so, it is ok to
simply have gdbserver call ps?
Thanks for the expertise
Marc
next reply other threads:[~2008-05-06 1:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 1:38 Marc Khouzam [this message]
2008-05-06 2:36 ` 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=803815B8DB5071438A047CB187B98880F95109F3DD@BL2PRD0001MB022.prod.exchangelabs.com \
--to=marc@khouzam.com \
--cc=gdb@sourceware.org \
/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