]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
authorJulian Brown <julian@codesourcery.com>
Fri, 9 Jun 2006 00:44:28 +0000 (00:44 +0000)
committerJulian Brown <julian@codesourcery.com>
Fri, 9 Jun 2006 00:44:28 +0000 (00:44 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 6ff7d56b11d73ce0cb1f1029e1d8cb195b039375..97123d4f92f6c988ca9d14fe2eb7bfa1db836674 100644 (file)
@@ -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>
 
        * MAINTAINERS (Write After Approval): Add myself.
index b776a57537e79c60c8ca34826cffab5678b46bc4..057df7dfd266a536ebe0c94a223083fb6d8934d2 100644 (file)
@@ -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);
 
-  if (header->version != 2)
+  if (header->version != 2 && header->version != 3)
     error (_("Dwarf Error: wrong version in compilation unit header "
           "(is %d, should be %d) [in module %s]"), header->version,
           2, bfd_get_filename (abfd));