aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
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 /gdb/dwarf2read.c
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.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c1
1 files changed, 1 insertions, 0 deletions
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: