OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gdb-7.2/] [gdb-7.2-or32-1.0rc1/] [gdb/] [testsuite/] [gdb.dwarf2/] [dw2-ref-missing-frame.S] - Blame information for rev 341

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
/* This testcase is part of GDB, the GNU debugger.
2
 
3
   Copyright 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4
 
5
   This program is free software; you can redistribute it and/or modify
6
   it under the terms of the GNU General Public License as published by
7
   the Free Software Foundation; either version 3 of the License, or
8
   (at your option) any later version.
9
 
10
   This program is distributed in the hope that it will be useful,
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
   GNU General Public License for more details.
14
 
15
   You should have received a copy of the GNU General Public License
16
   along with this program.  If not, see .  */
17
 
18
/* Debug information */
19
 
20
        .section .debug_info
21
.Lcu1_begin:
22
        /* CU header */
23
        .4byte  .Lcu1_end - .Lcu1_start         /* Length of Compilation Unit */
24
.Lcu1_start:
25
        .2byte  2                               /* DWARF Version */
26
        .4byte  .Labbrev1_begin                 /* Offset into abbrev section */
27
        .byte   4                               /* Pointer size */
28
 
29
        /* CU die */
30
        .uleb128 1                              /* Abbrev: DW_TAG_compile_unit */
31
        .4byte  cu_text_end                     /* DW_AT_high_pc */
32
        .4byte  cu_text_start                   /* DW_AT_low_pc */
33
        .ascii  "file1.txt\0"                   /* DW_AT_name */
34
        .ascii  "GNU C 3.3.3\0"                 /* DW_AT_producer */
35
        .byte   1                               /* DW_AT_language (C) */
36
 
37
.Ltype_int:
38
        .uleb128        3                       /* Abbrev: DW_TAG_base_type */
39
        .ascii          "int\0"                 /* DW_AT_name */
40
        .byte           4                       /* DW_AT_byte_size */
41
        .byte           5                       /* DW_AT_encoding */
42
 
43
        /* func_nofb */
44
        .uleb128        5                       /* Abbrev: DW_TAG_subprogram (no fb) */
45
        .ascii          "func_nofb\0"           /* DW_AT_name */
46
        .4byte          func_nofb_start         /* DW_AT_low_pc */
47
        .4byte          func_nofb_end           /* DW_AT_high_pc */
48
 
49
        .uleb128        7                       /* Abbrev: DW_TAG_variable (location) */
50
        .ascii          "func_nofb_var\0"       /* DW_AT_name */
51
        .byte           2f - 1f                 /* DW_AT_location */
52
1:      .byte           0x91                    /*   DW_OP_fbreg */
53
        .sleb128        0                        /*   0 */
54
2:      .4byte          .Ltype_int-.Lcu1_begin  /* DW_AT_type */
55
 
56
        .byte           0                        /* End of children of func */
57
 
58
        /* func_loopfb */
59
        .uleb128        6                       /* Abbrev: DW_TAG_subprogram (loop fb) */
60
        .ascii          "func_loopfb\0"         /* DW_AT_name */
61
        .4byte          func_loopfb_start       /* DW_AT_low_pc */
62
        .4byte          func_loopfb_end         /* DW_AT_high_pc */
63
        .byte           2f - 1f                 /* DW_AT_frame_base */
64
1:      .byte           0x91                    /*   DW_OP_fbreg */
65
        .sleb128        0                        /*   0 */
66
2:
67
 
68
        .uleb128        7                       /* Abbrev: DW_TAG_variable (location) */
69
        .ascii          "func_loopfb_var\0"     /* DW_AT_name */
70
        .byte           2f - 1f                 /* DW_AT_location */
71
1:      .byte           0x91                    /*   DW_OP_fbreg */
72
        .sleb128        0                        /*   0 */
73
2:      .4byte          .Ltype_int-.Lcu1_begin  /* DW_AT_type */
74
 
75
        .byte           0                        /* End of children of func */
76
 
77
        .byte           0                        /* End of children of CU */
78
 
79
.Lcu1_end:
80
 
81
/* Abbrev table */
82
        .section .debug_abbrev
83
.Labbrev1_begin:
84
        .uleb128        1                       /* Abbrev code */
85
        .uleb128        0x11                    /* DW_TAG_compile_unit */
86
        .byte           1                       /* has_children */
87
        .uleb128        0x12                    /* DW_AT_high_pc */
88
        .uleb128        0x1                     /* DW_FORM_addr */
89
        .uleb128        0x11                    /* DW_AT_low_pc */
90
        .uleb128        0x1                     /* DW_FORM_addr */
91
        .uleb128        0x3                     /* DW_AT_name */
92
        .uleb128        0x8                     /* DW_FORM_string */
93
        .uleb128        0x25                    /* DW_AT_producer */
94
        .uleb128        0x8                     /* DW_FORM_string */
95
        .uleb128        0x13                    /* DW_AT_language */
96
        .uleb128        0xb                     /* DW_FORM_data1 */
97
        .byte           0x0                     /* Terminator */
98
        .byte           0x0                     /* Terminator */
99
 
100
        .uleb128        3                       /* Abbrev code */
101
        .uleb128        0x24                    /* DW_TAG_base_type */
102
        .byte           0                        /* has_children */
103
        .uleb128        0x3                     /* DW_AT_name */
104
        .uleb128        0x8                     /* DW_FORM_string */
105
        .uleb128        0xb                     /* DW_AT_byte_size */
106
        .uleb128        0xb                     /* DW_FORM_data1 */
107
        .uleb128        0x3e                    /* DW_AT_encoding */
108
        .uleb128        0xb                     /* DW_FORM_data1 */
109
        .byte           0x0                     /* Terminator */
110
        .byte           0x0                     /* Terminator */
111
 
112
        .uleb128        5                       /* Abbrev code */
113
        .uleb128        0x2e                    /* DW_TAG_subprogram (no fb) */
114
        .byte           1                       /* has_children */
115
        .uleb128        0x3                     /* DW_AT_name */
116
        .uleb128        0x8                     /* DW_FORM_string */
117
        .uleb128        0x11                    /* DW_AT_low_pc */
118
        .uleb128        0x1                     /* DW_FORM_addr */
119
        .uleb128        0x12                    /* DW_AT_high_pc */
120
        .uleb128        0x1                     /* DW_FORM_addr */
121
        .byte           0x0                     /* Terminator */
122
        .byte           0x0                     /* Terminator */
123
 
124
        .uleb128        6                       /* Abbrev code */
125
        .uleb128        0x2e                    /* DW_TAG_subprogram (loop fb) */
126
        .byte           1                       /* has_children */
127
        .uleb128        0x3                     /* DW_AT_name */
128
        .uleb128        0x8                     /* DW_FORM_string */
129
        .uleb128        0x11                    /* DW_AT_low_pc */
130
        .uleb128        0x1                     /* DW_FORM_addr */
131
        .uleb128        0x12                    /* DW_AT_high_pc */
132
        .uleb128        0x1                     /* DW_FORM_addr */
133
        .uleb128        0x40                    /* DW_AT_frame_base */
134
        .uleb128        0xa                     /* DW_FORM_block1 */
135
        .byte           0x0                     /* Terminator */
136
        .byte           0x0                     /* Terminator */
137
 
138
        .uleb128        7                       /* Abbrev code (location) */
139
        .uleb128        0x34                    /* DW_TAG_variable */
140
        .byte           0                        /* has_children */
141
        .uleb128        0x3                     /* DW_AT_name */
142
        .uleb128        0x8                     /* DW_FORM_string */
143
        .uleb128        0x2                     /* DW_AT_location */
144
        .uleb128        0xa                     /* DW_FORM_block1 */
145
        .uleb128        0x49                    /* DW_AT_type */
146
        .uleb128        0x13                    /* DW_FORM_ref4 */
147
        .byte           0x0                     /* Terminator */
148
        .byte           0x0                     /* Terminator */
149
 
150
        .byte           0x0                     /* Terminator */
151
        .byte           0x0                     /* Terminator */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.