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]

KGTP (Linux Kernel debugger and tracer) 20120806 release (bug fix)

KGTP is a realtime and lightweight 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.

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 and some other functions without stopping the Linux
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 (See
KGTP supports X86-32, X86-64, MIPS and ARM.
KGTP is tested on Linux kernel 2.6.18 to upstream.
And it can work with Android (See

Please go to or (Chinese) to get more info
about howto use KGTP.

Now, KGTP 20120806 release.
You can get the package for it from
svn co

The main change of this release is:
* When "make clean" with new Linux kernel.  Linux kernel will clean itself.
  So change "make clean" to "rm" to handle it.

* Remove S_IFIFO from debugfs_create_file because new Kernel doesn't
  like it.

* Fix a bug of gtp_task_read.  This bug will make this function can
  sleep sometimes.  This bug is dangerous when tracepoint access user
  space memory.

* Support enable and disable when tracepoint is running.

* Fix build error with RHEL 6.3.

Please goto get more info
about this release.

According to the comments of Christoph, Geoff and Andi.  I make lite
patch for review.  Please goto to
see it.


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