Index: dwarf2read.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2read.c,v retrieving revision 1.266 diff -u -p -r1.266 dwarf2read.c --- dwarf2read.c 26 Jun 2008 19:08:10 -0000 1.266 +++ dwarf2read.c 26 Jun 2008 19:25:09 -0000 @@ -6244,7 +6244,13 @@ read_attribute_value (struct attribute * if (attr->name == DW_AT_byte_size && form == DW_FORM_data4 && DW_UNSND (attr) >= 0xffffffff) - DW_UNSND (attr) = 0; + { + complaint + (&symfile_complaints, + _("Suspicious DW_AT_byte_size value treated as zero instead of %lx"), + DW_UNSND (attr)); + DW_UNSND (attr) = 0; + } return info_ptr; }