#as: --64 --compress-debug-sections
#objcopy:
#readelf: -w
-#name: objcopy on compressed debug setions
+#name: objcopy on compressed debug sections
Contents of the .[z]?debug_abbrev section:
- Number TAG
+ Number TAG \(0x0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
DW_AT_low_pc DW_FORM_addr
DW_AT_high_pc DW_FORM_addr
DW_AT_stmt_list DW_FORM_data4
+ DW_AT value: 0 DW_FORM value: 0
2 DW_TAG_subprogram \[no children\]
DW_AT_external DW_FORM_flag
DW_AT_name DW_FORM_strp
DW_AT_low_pc DW_FORM_addr
DW_AT_high_pc DW_FORM_addr
DW_AT_frame_base DW_FORM_block1
+ DW_AT value: 0 DW_FORM value: 0
Contents of the .[z]?debug_info section:
Compilation Unit @ offset 0x0:
Length: 0x5e \(32-bit\)
Version: 3
- Abbrev Offset: 0
+ Abbrev Offset: 0x0
Pointer Size: 8
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- < c> DW_AT_producer : \(indirect string, offset: 0x0\): GNU C 4.4.4
+ <c> DW_AT_producer : \(indirect string, offset: 0x0\): GNU C 4.4.4
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0x18\): compressed-1.c
<15> DW_AT_comp_dir : \(indirect string, offset: 0x16\): .
<4f> DW_AT_low_pc : 0x10
<57> DW_AT_high_pc : 0x15
<5f> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
+ <1><61>: Abbrev Number: 0
Raw dump of debug contents of section .[z]?debug_line:
The Directory Table is empty.
- The File Name Table:
+ The File Name Table \(offset 0x.*\):
Entry Dir Time Size Name
1 0 0 0 compressed-1.c
Line Number Statements:
- Extended opcode 2: set Address to 0x0
- Advance Line by 10 to 11
- Copy
- Special opcode 6: advance Address by 0 to 0x0 and Line by 1 to 12
- Advance Line by -7 to 5
- Special opcode 229: advance Address by 16 to 0x10 and Line by 0 to 5
- Special opcode 6: advance Address by 0 to 0x10 and Line by 1 to 6
- Advance PC by 5 to 0x15
- Extended opcode 1: End of Sequence
+ \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Advance Line by 10 to 11
+ \[0x.*\] Copy
+ \[0x.*\] Special opcode 6: advance Address by 0 to 0x0 and Line by 1 to 12
+ \[0x.*\] Advance Line by -7 to 5
+ \[0x.*\] Special opcode 229: advance Address by 16 to 0x10 and Line by 0 to 5
+ \[0x.*\] Special opcode 6: advance Address by 0 to 0x10 and Line by 1 to 6
+ \[0x.*\] Advance PC by 5 to 0x15
+ \[0x.*\] Extended opcode 1: End of Sequence
Contents of the .[z]?debug_pubnames section: