From: Chris Moller <cmoller@redhat.com>
To: frysk <frysk@sourceware.org>
Subject: utrace-based debugger demo code
Date: Mon, 18 Jun 2007 11:04:00 -0000 [thread overview]
Message-ID: <467343DF.5070802@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 976 bytes --]
For the last couple of weeks, I've been hacking together a loadable
kernel module that provides userspace access to the capabilities of
utrace. It's still very much a bare-bones, proof-of-concept, thing, but
it lets you attach multiple running processes, run them, halt them, read
their registers, and detach them. In process are means of
asynchronously notifying userspace debuggers of utrace report_* events
like process clones, vforks, execs, etc., and anything else it seems
reasonable to do.
I've also written a kind of boilerplate low-level debugger, mostly to
exercise the module and provide examples of how to talk to it.
Both the module ("utracer") and the fake debugger ("udb") are available
at cvs -d :ext:sourceware.org:/cvs/frysk co frysk-utrace. It builds,
although you have to have available the kernel headers that correspond
to your kernel, and you have to have root access to make it run. No
documentation yet, of course.
Chris
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
reply other threads:[~2007-06-16 1:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=467343DF.5070802@redhat.com \
--to=cmoller@redhat.com \
--cc=frysk@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).