This is the mail archive of the
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: <email@example.com>
-----BEGIN PGP SIGNED MESSAGE-----
got it - will give it a look !
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.
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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----