LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 03-20-2006, 02:15 AM   #1
topworld
LQ Newbie
 
Registered: Feb 2006
Posts: 21

Rep: Reputation: 15
How does - line no to address conversion- take place in Kernel-debugger?


Can anybody help me out with this?

My question is with reference to Working of Kernel – debuggers..

Q: When a debugger is given final executable file, it creates a file in which all symbol information is kept out of that executable file.

Later, when it asks user to specify breakpoint, user will specify the line from his source-code, and debugger converts this line no to actual address where it resides and puts a break-point there,
Now my question is how debugger does this?

As per my knowledge this is handled with elf-headers and different sections, storing symbol information. But question is how can I do the same?

To be precise , how lineno - to - address conversion can be implemented in kernel - debugger?

If anybody can provide me with the information, it will be more than welcome.
 
Old 03-20-2006, 07:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
Old 03-20-2006, 07:40 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Closed for above reason
 
  


Closed Thread


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
Kernel Debugger - how arunachalam Linux - Software 1 07-21-2008 02:09 AM
command line text to pdf conversion waskelton4 Linux - Software 4 02-14-2005 06:38 PM
Kernel debugger legolas_t Programming 1 06-28-2004 10:20 AM
Application to place single space with % between each line MasterC Linux - General 2 05-18-2003 02:16 PM
KDE debugger sends X in a spin when run from command line stodge Linux - Distributions 0 05-07-2003 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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