diff options
author | Mark Wielaard <mjw@redhat.com> | 2014-11-24 20:51:06 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2014-11-26 12:47:29 +0100 |
commit | 0cfd832fc7d4f1b5633248754dcc75fa90b5475b (patch) | |
tree | c469a668dca8c77e54349a989d7c8df1952199a1 /include | |
parent | 601a03ba3d521989584a1f8abd5678040e0218cf (diff) | |
download | gdb-0cfd832fc7d4f1b5633248754dcc75fa90b5475b.zip gdb-0cfd832fc7d4f1b5633248754dcc75fa90b5475b.tar.gz gdb-0cfd832fc7d4f1b5633248754dcc75fa90b5475b.tar.bz2 |
Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.
gdb/ChangeLog
* dwarf2read.c (set_cu_language): Recognize DW_LANG_C11,
DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14.
include/ChangeLog
* dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and
DW_LANG_C_plus_plus_14.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dwarf2.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 4c3d652..ea72295 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2014-11-24 Mark Wielaard <mjw@redhat.com> + + * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and + DW_LANG_C_plus_plus_14. + 2014-11-21 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> * dwarf2.def (DW_AT_APPLE_optimized, DW_AT_APPLE_flags) diff --git a/include/dwarf2.h b/include/dwarf2.h index 120e2c1..ca440dd 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -309,6 +309,10 @@ enum dwarf_source_language /* DWARF 5. */ DW_LANG_Go = 0x0016, + DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */ + DW_LANG_C11 = 0x001d, + DW_LANG_C_plus_plus_14 = 0x0021, + DW_LANG_lo_user = 0x8000, /* Implementation-defined range start. */ DW_LANG_hi_user = 0xffff, /* Implementation-defined range start. */ |