[CentOS-devel] Q: method for kernel module debugging

Mon Nov 9 09:59:43 UTC 2015
Peter Kjellström <cap at nsc.liu.se>

On Sat, 7 Nov 2015 09:24:33 -0500
Jonathan Billings <billings at negate.org> wrote:

> On Nov 7, 2015, at 4:03 AM, Ran Shalit <ranshalit at gmail.com> wrote:
> > I am new with CentOs, and more familiar with small linux kernel Sdk.
> > I would like to ask if it is possible to kernel debug ( and kernel
> > module debug in particular) CentOs kernel module, and how ?
> > I am using I7 Intel architrecture.
> 
> You can install the kernel-debug package with the same version of the
> kernel that you are debugging, it’ll contain a vmlinux built the same
> as the non-debug version, just with the debugging symbols included.

If one wants debugging information it's the "kernel-debuginfo" you
should install. kernel-debug is a kernel built with different config
(lots of debugging enabled). It will be a quite different experience..
(most notably slower).

/Peter K
 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20151109/4ffa2e72/attachment-0008.html>