diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-05-21 07:57:45 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-05-21 07:57:45 +0000 |
commit | 76bee0cceba09331d2f7acf1c259767d73597c3f (patch) | |
tree | d018a717d8706feed6efb09e3cf163773a9505dc /gdb | |
parent | 4ac3663827c86f3e5bf756eafca995562dbd2ca2 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 1 |
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; |