This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB Tracepoints for the Linux Kernel
- From: Nicholas Mc Guire <der dot herr at hofr dot at>
- To: Jim Blandy <jimb at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 27 Feb 2007 19:45:42 +0100 (CET)
- Subject: Re: GDB Tracepoints for the Linux Kernel
- References: <m3y7mjigrk.fsf@codesourcery.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At FOSDEM 2007 last weekend, I gave a presentation on a Linux loadable
kernel module and some GDB patches that allow you to use GDB to debug
the kernel it's running under. In the demo, people liked it when
Emacs popped up the source code for vfs_write. :)
Slides and a tarball containing code and patches are available from
http://www.red-bean.com/trac/tracepoints. The tarball's README file
has instructions for getting things going.
got it - will give it a look !
the only thing I imediatly found to fuss about is the gdb.patch - would
be nice to have this against 6.6 instead of cvs - 6.6 actually fails in
two file:
1 out of 7 hunks FAILED -- saving rejects to file target.c.rej
patching file target.h
Hunk #1 FAILED at 175.
1 out of 1 hunk FAILED -- saving rejects to file ax-general.c.rej
which is a bit irritating as cvs is really very very slow in china -
do you have a patch against stock 6.6 around any where ?
KGDB tracepoints are not quite there yet - but we do hope to get them into
KGDB once they work - its nice for remote debugging on the embedded
targets I guess.
Aside from that if you have interesting work we always have students
looking for some cool stuff to do - let me know.
hofrat
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFF5HxXnU7rXZKfY2oRAlZ0AJ0YQxW5Lkca0bsZL0RZacL+6tme6QCfUmnH
Bl2hK65S0iGh41m4+jIQlHM=
=ZUGK
-----END PGP SIGNATURE-----