Initial revision
[binutils.git] / binutils / testsuite / binutils-all / readelf.wi
blob3cb2eccf019274a8f3eb0e0c0a63f6770647077c
1 The section .debug_info contains:
3   Compilation Unit:
4    Length:        .*
5    Version:       2
6    Abbrev Offset: 0
7    Pointer Size:  4
8     Abbrev Number: 1 \(DW_TAG_compile_unit\)
9      DW_AT_name        : .*/testprog.c  
10      DW_AT_comp_dir    : .*/binutils    
11      DW_AT_producer    : GNU C .*       
12      DW_AT_language    : 1      \(ANSI C\)
13      DW_AT_low_pc      : 0      
14      DW_AT_high_pc     : .*     
15      DW_AT_stmt_list   : 0      
16     Abbrev Number: 2 \(DW_TAG_subprogram\)
17      DW_AT_external    : 1      
18      DW_AT_name        : fn     
19      DW_AT_decl_file   : 1      
20      DW_AT_decl_line   : a      
21      DW_AT_type        : .*     
22      DW_AT_low_pc      : 0      
23      DW_AT_high_pc     : .*     
24      DW_AT_frame_base  : 1 byte block: .*
25     Abbrev Number: 3 \(DW_TAG_base_type\)
26      DW_AT_name        : int    
27      DW_AT_byte_size   : 4      
28      DW_AT_encoding    : 5      \(signed\)
29     Abbrev Number: 4 \(DW_TAG_subprogram\)
30      DW_AT_sibling     : .*     
31      DW_AT_external    : 1      
32      DW_AT_name        : main   
33      DW_AT_decl_file   : 1      
34      DW_AT_decl_line   : 10     
35      DW_AT_type        : .*     
36      DW_AT_low_pc      : .*     
37      DW_AT_high_pc     : .*     
38      DW_AT_frame_base  : 1 byte block: .*
39     Abbrev Number: 5 \(DW_TAG_lexical_block\)
40      DW_AT_low_pc      : .*     
41      DW_AT_high_pc     : .*     
43    Extra data at end of comp unit:
44  .*: Abbrev Number: 6 \(DW_TAG_variable\)
45      DW_AT_name        : common 
46      DW_AT_decl_file   : 1      
47      DW_AT_decl_line   : 3      
48      DW_AT_type        : .*
49      DW_AT_external    : 1      
50      DW_AT_location    : 5 byte block: 3 . 0 0 0        \(DW_OP_addr: 0\)
51  .*: Abbrev Number: 6 \(DW_TAG_variable\)
52      DW_AT_name        : global 
53      DW_AT_decl_file   : 1      
54      DW_AT_decl_line   : 4      
55      DW_AT_type        : .*     
56      DW_AT_external    : 1      
57      DW_AT_location    : 5 byte block: 3 . 0 0 0        \(DW_OP_addr: 0\)
58  .*: Abbrev Number: 7 \(DW_TAG_variable\)
59      DW_AT_name        : local  
60      DW_AT_decl_file   : 1      
61      DW_AT_decl_line   : 5      
62      DW_AT_type        : .*     
63      DW_AT_location    : 5 byte block: 3 . 0 0 .        \(DW_OP_addr: .\)
64  .*: Abbrev Number: 8 \(DW_TAG_array_type\)
65      DW_AT_sibling     : .*     
66      DW_AT_type        : .*     
67  .*: Abbrev Number: 9 \(DW_TAG_subrange_type\)
68      DW_AT_upper_bound : 6      
69  .*: Abbrev Number: 3 \(DW_TAG_base_type\)
70      DW_AT_name        : char   
71      DW_AT_byte_size   : 1      
72      DW_AT_encoding    : .      \(.* char\)
73  .*: Abbrev Number: 7 \(DW_TAG_variable\)
74      DW_AT_name        : string 
75      DW_AT_decl_file   : 1      
76      DW_AT_decl_line   : 6      
77      DW_AT_type        : .*     
78      DW_AT_location    : 5 byte block: 3 . 0 0 .        \(DW_OP_addr: .\)