gdb/
* dwarf2read.c (set_cu_language): Recognize also DW_LANG_C99.
This commit is contained in:
parent
4ac3663827
commit
76bee0cceb
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
Fix parsing DW_AT_const_value using DW_FORM_string.
|
Fix parsing DW_AT_const_value using DW_FORM_string.
|
||||||
|
|
|
@ -6876,6 +6876,7 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
|
||||||
switch (lang)
|
switch (lang)
|
||||||
{
|
{
|
||||||
case DW_LANG_C89:
|
case DW_LANG_C89:
|
||||||
|
case DW_LANG_C99:
|
||||||
case DW_LANG_C:
|
case DW_LANG_C:
|
||||||
cu->language = language_c;
|
cu->language = language_c;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue