From d1be32476ed223c36b1d79f6f58b892572888dc6 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 16 May 2013 07:39:43 +0000 Subject: [PATCH] [dwarf]: Add DW_LANG_UPC support in set_cu_language. gdb/ChangeLog: * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1685f541594..8df3cff63da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-05-16 Joel Brobecker + + * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling. + 2013-05-16 Joel Brobecker * ada-lang.c (ada_make_symbol_completion_list): Make sure diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ed5aea317f2..a17cd9db037 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: -- 2.30.2