This is the mail archive of the gdb@sources.redhat.com 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]

kernel debugging with gdb


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


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