In this little gist I will look at how it helps the debug data to use all the sections in the binary.
I will first compile the program with -g
(using Peter's patches). Then I'll
run it once and will get a quite nice stack trace. I will then succesively
strip out important debug information and rerun the binary (without recompiling
of course!). The result will be that the stack trace is degrading for each
stripping, and we can then get a sense for the usefulness of each DWARF section
in the binary.