From: Jan Kratochvil Date: Thu, 21 May 2009 07:57:45 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76bee0cceba09331d2f7acf1c259767d73597c3f;p=binutils-gdb.git gdb/ * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 93127d6681d..f8586705d97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-05-21 Jan Kratochvil + + * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99. + 2009-05-21 Jan Kratochvil Fix parsing DW_AT_const_value using DW_FORM_string. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index bb088413715..bcfbb1b6912 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -6876,6 +6876,7 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu) switch (lang) { case DW_LANG_C89: + case DW_LANG_C99: case DW_LANG_C: cu->language = language_c; break;