display data structure using gdb
I am new in kernel development. I want to debug kernel to get value of data structures which are in use. For example i want to get value of sk_buff data structure for running kernel. I am using gdb for debugging running kernel.
command is as following
root# gdb /vk/linux/vmlinux /proc/kcore
(where vmlinux is uncompressed kernel image.)
Above command execute successfully and i got gdb prompt.
What i should do now?
|All times are GMT -5. The time now is 04:44 AM.|