aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-05-16 07:39:43 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-05-16 07:39:43 +0000
commitd1be32476ed223c36b1d79f6f58b892572888dc6 (patch)
treee2ac0a6e64755b8748d4981a3d1218bfa126c269
parentb8fea896feba38994f3889cfcae047730b78eba4 (diff)
downloadgdb-d1be32476ed223c36b1d79f6f58b892572888dc6.zip
gdb-d1be32476ed223c36b1d79f6f58b892572888dc6.tar.gz
gdb-d1be32476ed223c36b1d79f6f58b892572888dc6.tar.bz2
[dwarf]: Add DW_LANG_UPC support in set_cu_language.
gdb/ChangeLog: * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1685f54..8df3cff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2013-05-16 Joel Brobecker <brobecker@adacore.com>
+ * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling.
+
+2013-05-16 Joel Brobecker <brobecker@adacore.com>
+
* ada-lang.c (ada_make_symbol_completion_list): Make sure
all cleanups are done before returning from this function.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index ed5aea3..a17cd9d 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -14983,6 +14983,7 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
case DW_LANG_C89:
case DW_LANG_C99:
case DW_LANG_C:
+ case DW_LANG_UPC:
cu->language = language_c;
break;
case DW_LANG_C_plus_plus: