* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
This commit is contained in:
parent
5b031165ba
commit
2b949cb6bb
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-09 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
Julian Brown <julian@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
|
||||||
|
|
||||||
2006-06-09 Julian Brown <julian@codesourcery.com>
|
2006-06-09 Julian Brown <julian@codesourcery.com>
|
||||||
|
|
||||||
* MAINTAINERS (Write After Approval): Add myself.
|
* MAINTAINERS (Write After Approval): Add myself.
|
||||||
|
|
|
@ -1304,7 +1304,7 @@ partial_read_comp_unit_head (struct comp_unit_head *header, gdb_byte *info_ptr,
|
||||||
|
|
||||||
info_ptr = read_comp_unit_head (header, info_ptr, abfd);
|
info_ptr = read_comp_unit_head (header, info_ptr, abfd);
|
||||||
|
|
||||||
if (header->version != 2)
|
if (header->version != 2 && header->version != 3)
|
||||||
error (_("Dwarf Error: wrong version in compilation unit header "
|
error (_("Dwarf Error: wrong version in compilation unit header "
|
||||||
"(is %d, should be %d) [in module %s]"), header->version,
|
"(is %d, should be %d) [in module %s]"), header->version,
|
||||||
2, bfd_get_filename (abfd));
|
2, bfd_get_filename (abfd));
|
||||||
|
|
Loading…
Reference in New Issue