public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* utrace-based debugger demo code
@ 2007-06-18 11:04 Chris Moller
  0 siblings, 0 replies; only message in thread
From: Chris Moller @ 2007-06-18 11:04 UTC (permalink / raw)
  To: frysk

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-16  1:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-18 11:04 utrace-based debugger demo code Chris Moller

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).