kernel debugging with gdb

Vasu S vasu.ss@gmail.com
Fri May 27 08:33:00 GMT 2005


Hello all,

I am trying to use gdb for kernel debugging. I am getting the following error

# gdb vmlinux /proc/kcore

/proc/kcore: Operation not permitted.
(gdb)

I have compiled the kernel with debug options enabled.  I am on 2.6.5 kernel.
Can someone tell me what could be the problem here? Any help is appreciated.

Thanks,
Vasu



More information about the Gdb mailing list