https://sourceware.org/bugzilla/show_bug.cgi?id=27370
Bug ID: 27370 Summary: [readelf] warning when processing abbrev with DW_FORM_ref_sig8 Product: binutils Version: 2.37 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- ... $ g++ gdb/testsuite/gdb.cp/cpexprs.cc -gdwarf-5 -fdebug-types-section $ ~/binutils/install/bin/readelf -w a.out > READELF readelf: Warning: Unexpected form 20 encountered whilst finding abbreviation for type ... The form 20 is actually a hex, so the warning could add a 0x prefix to make that clear. The form 0x20 is: ... DW_FORM (DW_FORM_ref_sig8, 0x20) ... Putting the warning together with the output, we have: ... <2><1839>: Abbrev Number: 48 (DW_TAG_member) <183a> DW_AT_name : (indirect string, offset: 0x2065): _sbuf <183e> DW_AT_decl_file : 4 <183f> DW_AT_decl_line : 158 <1840> DW_AT_type : <0x1858>readelf: Warning: Unexpected form 20 encountered whilst finding abbreviation for type <1844> DW_AT_data_member_location: 8 ... and the referenced type looks like: ... <1><1858>: Abbrev Number: 52 (DW_TAG_pointer_type) <1859> DW_AT_byte_size : 8 <185a> DW_AT_type : signature: 0xa8df1933f740ec32 ... with abbrev: ... 52 DW_TAG_pointer_type [no children] DW_AT_byte_size DW_FORM_data1 DW_AT_type DW_FORM_ref_sig8 DW_AT value: 0 DW_FORM value: 0 ... -- You are receiving this mail because: You are on the CC list for the bug.