LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-09-2013, 08:09 PM   #1
smithyvn
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
debug kernel module with gdb - how to solve "no debugging symbols founds"


Hello, I am using Ubuntu 12.10. I am trying to debug a kernel module using gdb. I follow instructions on the Internet: compile kernel with CONFIG_DEBUG_INFO enabled, run gdb and try to "add-symbol-file" the module; but it fails with error: "no debugging symbol found". Can anybody who has experience with gdb give me a hint how to fix this?
 
Old 01-10-2013, 11:57 PM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by smithyvn View Post
I am trying to debug a kernel module using gdb.
Try this:
http://kernel.org/pub/linux/kernel/people/jwessel/kdb/
http://www.ibm.com/developerworks/li...brary/l-kdbug/
 
  


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
gdb - how to solve "no debugging symbols founds" smithyvn Programming 1 01-11-2013 02:59 PM
Others have gdb debug symbols but I don't... williawh Programming 7 01-26-2011 08:55 AM
Problem in debugging with "GDB"? jeremy28 Programming 10 07-19-2010 04:09 AM
How to debug a large project using "GDB"? jeremy28 Programming 8 07-19-2010 03:36 AM
kernel 2.6.0 debian "No module symbols loaded - kernel modules not enabled." toovato Linux - General 2 01-07-2004 07:56 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:00 PM.

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