From 76bee0cceba09331d2f7acf1c259767d73597c3f Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 21 May 2009 07:57:45 +0000 Subject: [PATCH] gdb/ * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 1 + 2 files changed, 5 insertions(+) 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; -- 2.30.2