https://sourceware.org/bugzilla/show_bug.cgi?id=27309
Bug ID: 27309 Summary: readelf --debug-dump=info --wide output changes in 2.36 Product: binutils Version: 2.35.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mliska at suse dot cz CC: nickc at sourceware dot org Target Milestone: --- After https://sourceware.org/bugzilla/show_bug.cgi?id=26847 the following is printed: $ ./binutils/readelf --debug-dump=info --wide /tmp/sample_struct.o | head -n20 Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x39c (32-bit) Version: 2 Abbrev Offset: 0x0 Pointer Size: 4 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit) <c> DW_AT_producer : (strp) (offset: 0x14c): GNU C17 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9] -m32 -mtune=generic -march=x86-64 -gdwarf-2 -fPIE <10> DW_AT_language : (data1) 12 (ANSI C99) <11> DW_AT_name : (strp) (offset: 0x12d): mpers-m32/sample_struct.c <15> DW_AT_comp_dir : (strp) (offset: 0x89): /home/abuild/rpmbuild/BUILD/strace-5.10 <19> DW_AT_stmt_list : (data4) 0x0 <1><1d>: Abbrev Number: 2 (DW_TAG_base_type) <1e> DW_AT_byte_size : (data1) 1 <1f> DW_AT_encoding : (data1) 8 (unsigned char) <20> DW_AT_name : (strp) (offset: 0x56): unsigned char <1><24>: Abbrev Number: 2 (DW_TAG_base_type) <25> DW_AT_byte_size : (data1) 2 <26> DW_AT_encoding : (data1) 7 (unsigned) before the revision it printed: Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x39c (32-bit) Version: 2 Abbrev Offset: 0x0 Pointer Size: 4 <0><b>: Abbrev Number: 1 (DW_TAG_compile_unit) <c> DW_AT_producer : (indirect string, offset: 0x14c): GNU C17 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9] -m32 -mtune=generic -march=x86-64 -gdwarf-2 -fPIE <10> DW_AT_language : 12 (ANSI C99) <11> DW_AT_name : (indirect string, offset: 0x12d): mpers-m32/sample_struct.c <15> DW_AT_comp_dir : (indirect string, offset: 0x89): /home/abuild/rpmbuild/BUILD/strace-5.10 <19> DW_AT_stmt_list : 0x0 <1><1d>: Abbrev Number: 2 (DW_TAG_base_type) <1e> DW_AT_byte_size : 1 <1f> DW_AT_encoding : 8 (unsigned char) <20> DW_AT_name : (indirect string, offset: 0x56): unsigned char <1><24>: Abbrev Number: 2 (DW_TAG_base_type) <25> DW_AT_byte_size : 2 <26> DW_AT_encoding : 7 (unsigned) I don't see a point why e.g. "(indirect string, offset: 0x89)" should be replaced with "(strp) (offset: 0x89)" in --wide mode. Moreover, I broke a strace configure script. -- You are receiving this mail because: You are on the CC list for the bug.