Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

What is debugging information?

Posted on 2007-11-19
3
Medium Priority
?
1,238 Views
Last Modified: 2013-12-13
I work on PowerPC based Embedded Systems.  Programming language is C.  Cross compiler is Diab 4.2b.  FYI, Windriver has purchased Diab.  Along with the compiler comes a utility called ddump.  This utility has the following syntax.

ddump [command] file

I invoke this utility as follows:

ddump -D filename.elf
I believe .elf stands for executable linking format.  Anyways, this command means to dump the DWARF debugging information in each object file.  I think when this utitliy is run it generates bunch of paths to the source code.  These source paths are loaded into the debugger.  Then, we type some command in debugger to load symbols.  Then, somehow source code that matches the binary image in our target hardware appears in the debugger.  How does all this work?  What is DWARF?

Thanks,
0
Comment
Question by:naseeam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 20315154
Debugging information is all the symbol information a debugger needs to interpret the macjine code and associate it with the source code, i.e. the function and variable names etc.
0
 
LVL 86

Expert Comment

by:jkr
ID: 20315161
BTW, regarding DWARF: See http://www.tachyonsoft.com/dwarf.pdf 

DWARF (Debug With Arbitrary Record Format) is a more recent format for debugging information for ELF files.
0
 
LVL 1

Author Closing Comment

by:naseeam
ID: 31410002
Amazing job in answering what was asked.  
Excellent information on the DWARF.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question