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? Thanks |
All times are GMT -5. The time now is 05:13 AM. |