KGTP (Linux Kernel debugger and tracer) 20111111 release (Android support OK)

Hui Zhu teawater@gmail.com
Mon Nov 14 05:15:00 GMT 2011


KGTP is a realtime and lightweight Linux Kernel GDB debugger and tracer.

It makes Linux Kernel supply a GDB remote debug interface. Then GDB in
current machine or remote machine can debug and trace Linux through
GDB tracepoint without stopping the Linux Kernel.
And even if the board doesn't have GDB on it and doesn't have
interface for remote debug. It can debug the Linux Kernel using
offline debug.
Now, it supports X86-32, X86-64, MIPS and ARM.

Now, KGTP 20111111 release.

The change of this release is:
Add a doc for use KGTP with Android in
https://code.google.com/p/kgtp/wiki/HowToUseKGTPinAndroid
post_handler will make kprobes-optimization cannot be used. So make
gtp_kp_post_handler be call only when tpe->step is true.
Make rdtsc_current to x86 special.
Register easy Kprobe handler to speed up it when no tracepoint access
$cooked_clock, $cooked_rdtsc or "pc_pe" tvariable.
Fix a bug of ARM build.
To get other change info please goto https://code.google.com/p/kgtp/wiki/UPDATE

According to the comments of Christoph.  I make a patch for Linux
Kernel and make it looks OK with checkpatch.pl.  The file gtp.patch is
include in the source of KGTP code.

Thanks,
Hui



More information about the Gdb mailing list