Any properly written dwarf reader will ignore attributes it doesn't
understand, and hence in theory there should be no need for a -
gdwarf-2+ option. You can just emit the new info by default and
everything should work.
The problem is that the switch will also change what is contained in
Nicolas Setton wrote:
In order to make the transition easier, and to allow time for other
tools (mainly gdb) to take advantage of these improvements at their own
schedule, we would like to introduce a command-line switch (- gdwarf+),
which will trigger the use of the GNAT vendor extension to
Hello,
We would like to improve the readability and usability of the DWARF
debug information emitted for Ada programs. Right now, this
information contains a lot of GNAT-specific "encodings", which were
created to fill in the deficiencies of the stabs and DWARF-2
debugging formats when it