LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 04-14-2009, 10:16 AM   #1
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Question 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
 
  


Reply

Tags
data, kernel, structure


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gdb doesn't show correct string data prima8 Linux - Newbie 0 03-11-2009 05:21 PM
A data structure problem Asuralm Programming 1 12-24-2007 08:49 AM
c++ data structure libraries kpachopoulos Programming 2 01-16-2007 05:22 PM
gdb cannot display argc/argv? Nick_Battle Programming 3 01-12-2007 01:06 PM
Data structure trie spank Programming 7 05-21-2006 08:21 AM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration