Re: DWARF 2[/3] the most advanced debugging format?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert P. J. Day wrote:
  a friend who's just getting into development on linux was reading
the gcc manual and ran across the variety of available debugging
formats here:

http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Debugging-Options.html

and asked me, out of all those formats, which was the "best" one to
start working with.

  i suggested he'd be best off getting familiar with the DWARF 2
format, since fedora already comes with a yum-installable "dwarves"
package containing various DWARF-related examination utilities.

  that seemed like an easy answer at the time, but is there a better
choice?  i realize stabs is still common but, in terms of being
technically advanced, is DWARF 2 the most informative and most useful
of the formats?  thanks.

Well, DWARF version 3 was released a few years ago.  :-)

DWARF is an extensible, block structured debugging format.  It has
a significant user community which is involved in upgrading and
extending it.  Other formats, such as stabs or coff debug, are either
not block structured, difficult to extend, limited to specific
architectures, poorly documented, antiquated, or moribund.

DWARF is the default debugging format for most GCC compilers,
including those on Linux on x86 and PowerPC.  Linux migrated away
from stabs some time ago.

You can find an Introduction to DWARF article which I wrote a
couple years ago on the DWARF website:  http://dwarfstd.org

--
Michael Eager	 Chair, DWARF Standards Committee   eager@xxxxxxxxxxxx
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux