This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB Tracepoints for the Linux Kernel

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]