]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add a flag to control the balance between GNAT encodings and std. DWARF
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Dec 2015 14:09:26 +0000 (14:09 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Dec 2015 14:09:26 +0000 (14:09 +0000)
commitf78f10d634c81efcc0b64b006dd70d1ac44fcc4c
treed3c4a684ec8da4b8efa794c5eccd75c8af29e425
parent07ae82722fe83043bb055a979f0831abcd01a006
Add a flag to control the balance between GNAT encodings and std. DWARF

In order to accomodate the debugger's support evolution for "new" DWARF
constructs, we need to have an flag that controls the amount of GNAT
encodings/standard DWARF information that is emitted in the debug info.
Propagate this new parameter into the Ada front-end.

gcc/ChangeLog:

* common.opt (gnat_encodings): New variable
(dwarf_gnat_encodings): New enum type.
(fgnat_encodings): New option.
* flag-types.h (enum dwarf_gnat_encodings): New.

gcc/ada/ChangeLog:

* gcc-interface/misc.c (gnat_encodings): Undefine macro and
declare a global variable.
(gnat_post_options): Initialize this global from options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231761 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c
gcc/common.opt
gcc/defaults.h
gcc/flag-types.h