Home | History | Annotate | Download | only in binutils-all
      1 
      2 .*: +file format .*
      3 
      4 Contents of the .z?debug_info section:
      5 
      6   Compilation Unit @ offset 0x0:
      7    Length:        0x5e \(32-bit\)
      8    Version:       2
      9    Abbrev Offset: 0x0
     10    Pointer Size:  4
     11  <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
     12     <c>   DW_AT_stmt_list   : 0x0
     13     <10>   DW_AT_high_pc     : 0x4
     14     <14>   DW_AT_low_pc      : 0x0
     15     <18>   DW_AT_name        : file1.txt
     16     <22>   DW_AT_producer    : GNU C 3.3.3
     17     <2e>   DW_AT_language    : 1	\(ANSI C\)
     18  <1><2f>: Abbrev Number: 2 \(DW_TAG_subprogram\)
     19     <30>   DW_AT_external    : 1
     20     <31>   DW_AT_decl_file   : 1
     21     <32>   DW_AT_decl_line   : 2
     22     <33>   DW_AT_name        : func_cu1
     23     <3c>   DW_AT_type        : <0x85>
     24     <40>   DW_AT_low_pc      : 0x0
     25     <44>   DW_AT_high_pc     : 0x4
     26     <48>   DW_AT_frame_base  : 1 byte block: 55 	\(DW_OP_reg5 \([^()]*\)\)
     27  <1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
     28     <4b>   DW_AT_name        : int1
     29     <50>   DW_AT_byte_size   : 4
     30     <51>   DW_AT_encoding    : 5	\(signed\)
     31  <1><52>: Abbrev Number: 4 \(DW_TAG_const_type\)
     32     <53>   DW_AT_type        : <0x4a>
     33  <1><57>: Abbrev Number: 5 \(DW_TAG_variable\)
     34     <58>   DW_AT_name        : one
     35     <5c>   DW_AT_type        : <0x52>
     36     <60>   DW_AT_const_value : 1
     37  <1><61>: Abbrev Number: 0
     38   Compilation Unit @ offset 0x62:
     39    Length:        0x37 \(32-bit\)
     40    Version:       2
     41    Abbrev Offset: 0x45
     42    Pointer Size:  4
     43  <0><6d>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
     44     <6e>   DW_AT_name        : file1.txt
     45     <78>   DW_AT_producer    : GNU C 3.3.3
     46     <84>   DW_AT_language    : 1	\(ANSI C\)
     47  <1><85>: Abbrev Number: 2 \(DW_TAG_base_type\)
     48     <86>   DW_AT_name        : int2
     49     <8b>   DW_AT_byte_size   : 4
     50     <8c>   DW_AT_encoding    : 5	\(signed\)
     51  <1><8d>: Abbrev Number: 3 \(DW_TAG_const_type\)
     52     <8e>   DW_AT_type        : <0x85>
     53  <1><92>: Abbrev Number: 4 \(DW_TAG_variable\)
     54     <93>   DW_AT_name        : two
     55     <97>   DW_AT_type        : <0x8d>
     56     <9b>   DW_AT_const_value : 2
     57  <1><9c>: Abbrev Number: 0
     58 
     59 Contents of the .z?debug_abbrev section:
     60 
     61   Number TAG \(0x0\)
     62    1      DW_TAG_compile_unit    \[has children\]
     63     DW_AT_stmt_list    DW_FORM_data4
     64     DW_AT_high_pc      DW_FORM_addr
     65     DW_AT_low_pc       DW_FORM_addr
     66     DW_AT_name         DW_FORM_string
     67     DW_AT_producer     DW_FORM_string
     68     DW_AT_language     DW_FORM_data1
     69     DW_AT value: 0     DW_FORM value: 0
     70    2      DW_TAG_subprogram    \[no children\]
     71     DW_AT_external     DW_FORM_flag
     72     DW_AT_decl_file    DW_FORM_data1
     73     DW_AT_decl_line    DW_FORM_data1
     74     DW_AT_name         DW_FORM_string
     75     DW_AT_type         DW_FORM_ref_addr
     76     DW_AT_low_pc       DW_FORM_addr
     77     DW_AT_high_pc      DW_FORM_addr
     78     DW_AT_frame_base   DW_FORM_block1
     79     DW_AT value: 0     DW_FORM value: 0
     80    3      DW_TAG_base_type    \[no children\]
     81     DW_AT_name         DW_FORM_string
     82     DW_AT_byte_size    DW_FORM_data1
     83     DW_AT_encoding     DW_FORM_data1
     84     DW_AT value: 0     DW_FORM value: 0
     85    4      DW_TAG_const_type    \[no children\]
     86     DW_AT_type         DW_FORM_ref4
     87     DW_AT value: 0     DW_FORM value: 0
     88    5      DW_TAG_variable    \[no children\]
     89     DW_AT_name         DW_FORM_string
     90     DW_AT_type         DW_FORM_ref4
     91     DW_AT_const_value  DW_FORM_data1
     92     DW_AT value: 0     DW_FORM value: 0
     93   Number TAG \(0x45\)
     94    1      DW_TAG_compile_unit    \[has children\]
     95     DW_AT_name         DW_FORM_string
     96     DW_AT_producer     DW_FORM_string
     97     DW_AT_language     DW_FORM_data1
     98     DW_AT value: 0     DW_FORM value: 0
     99    2      DW_TAG_base_type    \[no children\]
    100     DW_AT_name         DW_FORM_string
    101     DW_AT_byte_size    DW_FORM_data1
    102     DW_AT_encoding     DW_FORM_data1
    103     DW_AT value: 0     DW_FORM value: 0
    104    3      DW_TAG_const_type    \[no children\]
    105     DW_AT_type         DW_FORM_ref4
    106     DW_AT value: 0     DW_FORM value: 0
    107    4      DW_TAG_variable    \[no children\]
    108     DW_AT_name         DW_FORM_string
    109     DW_AT_type         DW_FORM_ref4
    110     DW_AT_const_value  DW_FORM_data1
    111     DW_AT value: 0     DW_FORM value: 0
    112 
    113 Raw dump of debug contents of section .z?debug_line:
    114 
    115   Offset:                      0x0
    116   Length:                      62
    117   DWARF Version:               2
    118   Prologue Length:             35
    119   Minimum Instruction Length:  1
    120   Initial value of 'is_stmt':  1
    121   Line Base:                   1
    122   Line Range:                  1
    123   Opcode Base:                 16
    124 
    125  Opcodes:
    126   Opcode 1 has 0 args
    127   Opcode 2 has 1 args
    128   Opcode 3 has 1 args
    129   Opcode 4 has 1 args
    130   Opcode 5 has 1 args
    131   Opcode 6 has 0 args
    132   Opcode 7 has 0 args
    133   Opcode 8 has 0 args
    134   Opcode 9 has 1 args
    135   Opcode 10 has 0 args
    136   Opcode 11 has 0 args
    137   Opcode 12 has 1 args
    138   Opcode 13 has 0 args
    139   Opcode 14 has 0 args
    140   Opcode 15 has 0 args
    141 
    142  The Directory Table is empty.
    143 
    144  The File Name Table \(offset 0x1f\):
    145   Entry	Dir	Time	Size	Name
    146   1	0	0	0	file1.txt
    147 
    148  Line Number Statements:
    149   \[0x0000002d\]  Extended opcode 2: set Address to 0x0
    150   \[0x00000034\]  Advance Line by 3 to 4
    151   \[0x00000036\]  Copy
    152   \[0x00000037\]  Copy
    153   \[0x00000038\]  Extended opcode 2: set Address to 0x4
    154   \[0x0000003f\]  Extended opcode 1: End of Sequence
    155 
    156 
    157