-   Linux - Kernel (
-   -   display data structure using gdb (

vishesh 04-14-2009 09:16 AM

display data structure using gdb
Dear all

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 05:19 AM.