Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: Disabled
kernel module debugging using kgdb


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


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 4 04-11-2018 12:51 AM
kgdb module debugging question vkmgeek Programming 5 09-30-2011 12:43 AM
Problem Debugging Kernel Module with KGDB raycope14 Linux - Software 2 09-08-2009 11:46 AM
kgdb module debugging vkmgeek Programming 1 07-23-2008 05:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:12 AM.

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