This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
KGTP (Linux Kernel debugger and tracer) 20111111 release (Android support OK)
- From: Hui Zhu <teawater at gmail dot com>
- To: linux-kernel at vger dot kernel dot org, "gdb at sourceware dot org" <gdb at sourceware dot org>, kgtp <kgtp at freelists dot org>
- Cc: Marc Khouzam <marc dot khouzam at ericsson dot com>, Thiago Jung Bauermann <thiago dot bauermann at gmail dot com>, Steven <mqyoung at gmail dot com>, colyli at gmail dot com, Christoph Hellwig <hch at infradead dot org>, Steven Rostedt <rostedt at goodmis dot org>, Randy Dunlap <rdunlap at xenotime dot net>
- Date: Mon, 14 Nov 2011 13:15:03 +0800
- Subject: KGTP (Linux Kernel debugger and tracer) 20111111 release (Android support OK)
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