forked from Imagelibrary/binutils-gdb
Recognize new DWARF5/GCC5 DW_LANG Fortran 2003 and Fortran 2008 standards.
DWARFv5 defines and GCC5 may output two new DW_LANG constants for the Fortran 2003 and Fortran 2008 standards. Recognize both as variants of language_fortran. gdb/ChangeLog: * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and DW_LANG_Fortran08 as language_fortran. http://dwarfstd.org/ShowIssue.php?issue=141121.1
This commit is contained in:
@@ -16925,6 +16925,8 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
|
||||
case DW_LANG_Fortran77:
|
||||
case DW_LANG_Fortran90:
|
||||
case DW_LANG_Fortran95:
|
||||
case DW_LANG_Fortran03:
|
||||
case DW_LANG_Fortran08:
|
||||
cu->language = language_fortran;
|
||||
break;
|
||||
case DW_LANG_Go:
|
||||
|
||||
Reference in New Issue
Block a user