LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2012, 10:59 AM   #1
aj_patra
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
kernel module debugging using kgdb


Hi,

I have cross compiled the kernel 3.1.2 for ARM architecture using ubuntu. Also I have a module with driver code and a test application which calls the driver from user space. Both the kernel and driver working fine in beagleboard.

Now I am trying to debug the driver code using gdb and gdbserver over ethernet. I am able to debug the user space code successfully after inserting the module, but not able to debug into the driver code. I have anabled the kgdb option in the .config file.

I want to know...
1) Is it possible to debug the kernel code using ethernet?
2) Please let me know the steps for kernel module debugging using kgdb.

Thanks in advance.

- Aj
 
  


Reply


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
[SOLVED] kgdb module debugging question meenajain Programming 3 09-03-2012 10:10 AM
kgdb module debugging question vkmgeek Programming 5 09-30-2011 01:43 AM
Problem Debugging Kernel Module with KGDB raycope14 Linux - Software 2 09-08-2009 12:46 PM
kgdb module debugging vkmgeek Programming 1 07-23-2008 06:41 AM


All times are GMT -5. The time now is 05:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration