aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-02-09 23:36:54 +0100
committerMark Wielaard <mjw@redhat.com>2015-02-10 09:07:25 +0100
commit5a19504458d7a4113ef91875a447f4e841df7598 (patch)
treeccd6d9c405a15a00d327156c0a26dd8cffbd92f5 /include
parent0b24eb2de5a6dbefe48fd57fcf5d0e7fb24895d4 (diff)
downloadgdb-5a19504458d7a4113ef91875a447f4e841df7598.zip
gdb-5a19504458d7a4113ef91875a447f4e841df7598.tar.gz
gdb-5a19504458d7a4113ef91875a447f4e841df7598.tar.bz2
Recognize new DWARF5/GCC5 DW_LANG constants for Fortran 03 and Fortran 08.
DWARFv5 defines and GCC5 may output two new DW_LANG constants for the Fortran 2003 and Fortran 2008 standards. Handle and display both in binutils. binutils/ChangeLog: * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03 and DW_LANG_Fortran08. include/ChangeLog: * dwarf2.h: Add DW_LANG_Fortran03 and DW_LANG_Fortran08. http://dwarfstd.org/ShowIssue.php?issue=141121.1
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dwarf2.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 4004997..24a141d 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,9 @@
2015-02-09 Mark Wielaard <mjw@redhat.com>
+ * dwarf2.h: Add DW_LANG_Fortran03 and DW_LANG_Fortran08.
+
+2015-02-09 Mark Wielaard <mjw@redhat.com>
+
* dwarf2.def: Add DW_TAG_atomic_type.
2015-01-28 James Bowman <james.bowman@ftdichip.com>
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 791ef56..4ada871 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -310,6 +310,8 @@ enum dwarf_source_language
DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */
DW_LANG_C11 = 0x001d,
DW_LANG_C_plus_plus_14 = 0x0021,
+ DW_LANG_Fortran03 = 0x0022,
+ DW_LANG_Fortran08 = 0x0023,
DW_LANG_lo_user = 0x8000, /* Implementation-defined range start. */
DW_LANG_hi_user = 0xffff, /* Implementation-defined range start. */