Hi guys,
KGTP (http://code.google.com/p/kgtp/) is a flexible, lightweight and
realtime Linux debugger and tracer.
To use it, you don't need patch or rebuild the Linux kernel. Just
build KGTP module and insmod it is OK.
I will introduce KGTP in GNU Tools Cauldron 2013
http://gcc.gnu.org/wiki/cauldron2013.
Please go to http://code.google.com/p/kgtp/wiki/HOWTO or
http://code.google.com/p/kgtp/wiki/HOWTO (Chinese) to get more info
about howto use KGTP.
Please goto https://code.google.com/p/kgtp/wiki/HOWTO#Table_of_different_between_GDB_debug_normal_program_and_KGTP
or https://code.google.com/p/kgtp/wiki/HOWTOCN#GDB??????ͨ??????KGTP????????
(Chinese) get the table of different between GDB debug normal program
and KGTP if you have experience using GDB debug normal program.
Now, KGTP 20130706 release.
You can get the package for it from
http://kgtp.googlecode.com/files/kgtp_20130706.tar.bz2
or
svn co https://kgtp.googlecode.com/svn/tags/20130706
The main change of this release is:
Fix bug with functions return value.
Fix dead lock with dynamic watch tracepoint.
Add $watch_prev_val to show the previous value that watch tracepoint
is watching on.
Update doc add "Get the way that access the variable that has been out
through parse ASM code".
Please goto http://code.google.com/p/kgtp/wiki/UPDATE get more info
about this release.
According to the comments of Christoph, Geoff and Andi. I make lite
patch for review. Please goto https://lkml.org/lkml/2012/5/9/90 to
see it.
Thanks,
Hui