How DWARF Works: Table of Contents and Introduction - Jim Calabro

submited by
Style Pass
2024-09-29 11:30:03

Its purpose is to provide a user-friendly starting point for learning about how debug information and debuggers work on Linux. It's written from the perspective of a debugger author, not a compiler author.

Non-goals include being a 100% comprehensive guide, providing details on specific languages or compilers, or giving details on other platforms.

If you want to learn more beyond what's contained in these posts, I highly recommend reading all relevant versions of the source documentation as well as other reference implementations that are pretty decent (links below).

If you have questions, comments, or corrections, please don't hesitate to reach out via email to jim at this domain dot com. I love hearing from you.

I feel strongly that the state of the art in debuggers needs to be improved on Linux. We have gdb, lldb, and rr (plus about a million graphical front ends, none of which are good). All of these tools take a long time to learn, are slow to use, and they don't make the data you need readily apparent.

Leave a Comment