aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-05-16 12:21:49 -0600
committerTom Tromey <tom@tromey.com>2016-05-17 11:11:20 -0600
commit5ff087ac1870878ad980503f5c8b60b6ffa32350 (patch)
tree38b8dab883bc4cc0e91978742e6211c84dbc1c9c
parent68bce0209f2be6d0f852ef7092b9d412d78fd43a (diff)
downloadgdb-5ff087ac1870878ad980503f5c8b60b6ffa32350.zip
gdb-5ff087ac1870878ad980503f5c8b60b6ffa32350.tar.gz
gdb-5ff087ac1870878ad980503f5c8b60b6ffa32350.tar.bz2
Add DW_LANG_Rust
include/ * dwarf2.h (enum dwarf_source_language) <DW_LANG_Rust, DW_LANG_Rust_old>: New constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235643 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--include/ChangeLog5
-rw-r--r--include/dwarf2.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index af061b4..f328d97 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-29 Tom Tromey <tom@tromey.com>
+
+ * dwarf2.h (enum dwarf_source_language) <DW_LANG_Rust,
+ DW_LANG_Rust_old>: New constants.
+
2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
* elf/mips.h (AFL_ASE_DSPR3): New macro.
diff --git a/include/dwarf2.h b/include/dwarf2.h
index bc5424a..1a145aa 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -308,6 +308,7 @@ enum dwarf_source_language
DW_LANG_Go = 0x0016,
DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */
+ DW_LANG_Rust = 0x001c,
DW_LANG_C11 = 0x001d,
DW_LANG_C_plus_plus_14 = 0x0021,
DW_LANG_Fortran03 = 0x0022,
@@ -325,7 +326,10 @@ enum dwarf_source_language
DW_LANG_HP_Basic91 = 0x8004,
DW_LANG_HP_Pascal91 = 0x8005,
DW_LANG_HP_IMacro = 0x8006,
- DW_LANG_HP_Assembler = 0x8007
+ DW_LANG_HP_Assembler = 0x8007,
+
+ /* Rust extension, but replaced in DWARF 5. */
+ DW_LANG_Rust_old = 0x9000
};
/* Names and codes for macro information. */