aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-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 93127d6..f858670 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
+
+2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
Fix parsing DW_AT_const_value using DW_FORM_string.
* dwarf2read.c (dwarf2_const_value <DW_FORM_string>): New.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index bb08841..bcfbb1b 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;