In this presentation Kieran Bingham follows on from Peter Griffin’s standing-room-only presentation at ELC-E Dublin of the same title; reviewing the different ways in which GDB can be used to debug the Linux kernel. In particular the talk focuses on the ways in which GDB can be made to have better "Linux Kernel Awareness” to improve the debugging experience. We will cover Linaro’s current project to introduce these features to GDB and the Kernel.
The presentation will look at how Linux Kernel Awareness can be implemented by either extending the GDB python interface or as GDB extensions written in C. The extensions can help debug a virtual kernel in Qemu/KVM, or physical hardware via the remote target protocol & OpenOCD.