aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-05-21 07:57:45 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-05-21 07:57:45 +0000
commit76bee0cceba09331d2f7acf1c259767d73597c3f (patch)
treed018a717d8706feed6efb09e3cf163773a9505dc /gdb/dwarf2read.c
parent4ac3663827c86f3e5bf756eafca995562dbd2ca2 (diff)
downloadgdb-76bee0cceba09331d2f7acf1c259767d73597c3f.zip
gdb-76bee0cceba09331d2f7acf1c259767d73597c3f.tar.gz
gdb-76bee0cceba09331d2f7acf1c259767d73597c3f.tar.bz2
gdb/
* dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
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 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;