LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-06-2012, 10:51 AM   #1
rupeshkp728
Member
 
Registered: May 2012
Posts: 33

Rep: Reputation: Disabled
Kernel Module Debugging


Question may seem illogical but I still need clarification.
Can we debug kernel modules loaded on my target system using kdb / kgdb without using any other system or remote debugging?
In other words my question is can we use kdb/kgdb to debug kernel modules running on same system?
 
Old 07-06-2012, 02:00 PM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Well if you have the source code then there is an article in it about debugging the kernel modules. On my computer it is at /usr/src/linux/Documents/debuging-modules.txt.
Hope this helps.
 
Old 07-06-2012, 02:07 PM   #3
rupeshkp728
Member
 
Registered: May 2012
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.
I will check the docs.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel module debugging using kgdb aj_patra Linux - Newbie 0 01-18-2012 09:59 AM
Debugging kernel module kewl Linux - Newbie 2 07-13-2010 07:34 AM
Problem Debugging Kernel Module with KGDB raycope14 Linux - Software 2 09-08-2009 11:46 AM
kernel module debugging jinochiramel Linux - Newbie 1 07-01-2009 12:23 PM
Debugging Linux Kernel Module with kdb Igor007 Programming 1 10-28-2005 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:29 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
Open Source Consulting | Domain Registration