Difference between revisions of "Exception Analysis tools"

From eLinux.org
Jump to: navigation, search
(Debugging the kernel)
(Debugging the kernel)
Line 41: Line 41:
 
* See http://kernel.org/pub/linux/kernel/people/jwessel/dbg_webinar/State_Of_kernel_debugging_LinuxCon2010.pdf
 
* See http://kernel.org/pub/linux/kernel/people/jwessel/dbg_webinar/State_Of_kernel_debugging_LinuxCon2010.pdf
 
** Jason Wessel description of kernel debugging status at LinuxCon 2010.
 
** Jason Wessel description of kernel debugging status at LinuxCon 2010.
 +
*** Notes:
 +
**** kgdboe = kgdb over ethernet - is unreliable and not going to be mainlined in current form
 +
**** kgdboc = kgdb over console? - slow but preferred
 +
**** kdb over EHCI = USB dongle for high-speed

Revision as of 22:38, 6 June 2011

There are lots of tools for Linux for analyzing and debugging exceptions in both the kernel and user-space programs.

Outline

Debugging the kernel

(this section is only here temporarily)

  • target agents:
    • connectors:
      • adb
      • what do WR, MV and others use to set up or connect the debugger to the process?
    • debug agents
      • gdbserver
      • kgdb
  • host agents:
    • adb server
  • debuggers:
    • gdb
    • kdb (local interactive kernel debugging)