This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, dwarf2out currently prevents advertising DW_LANG_Ada if version < 3 and strict_dwarf. There is no good reason for this and it is detrimental to gdb on some VxWorks configurations. This patch just moves the DW_LANG_Ada language selection out of the section guarded by the special version check. We have been using this for months on gcc-6 and gcc-7 on all our targets without unexpected fallouts and it fixed a few issues with gdb on VxWorks. Bootstrapped and regression tests fine with trunk on x86_64-linux. Ok to commit ? Thanks in advance! With Kind Regards, 2018-06-07 Olivier Hainque <hainque@adacore.com> * dwarf2out.c (gen_compile_unit_die): Don't filter on dwarf version or srictness to advertise Ada language.
Attachment:
0003-Don-t-discriminate-on-dwarf-version-to-select-Ada-la.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |