This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
kernel debugging with gdb
- From: Vasu S <vasu dot ss at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Fri, 27 May 2005 14:02:58 +0530
- Subject: kernel debugging with gdb
- Reply-to: Vasu S <vasu dot ss at gmail dot com>
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