Update copyright year range in all GDB files
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / dw2-ref-missing-frame-func.c
CommitLineData
875b4ff5
PM
1/* This testcase is part of GDB, the GNU debugger.
2
e2882c85 3 Copyright 2010-2018 Free Software Foundation, Inc.
875b4ff5
PM
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 <http://www.gnu.org/licenses/>. */
17
18asm (".globl cu_text_start");
19asm ("cu_text_start:");
20
21asm (".globl func_nofb_start");
22asm ("func_nofb_start:");
23
24void
25func_nofb (void)
26{
27 /* int func_nofb_var; */
28 /* int func_nofb_var2; */
29
30 extern void func_nofb_marker (void);
31 func_nofb_marker ();
32}
33
34asm (".globl func_nofb_end");
35asm ("func_nofb_end:");
36
37asm (".globl func_loopfb_start");
38asm ("func_loopfb_start:");
39
40void
41func_loopfb (void)
42{
43 /* int func_loopfb_var; */
44 /* int func_loopfb_var2; */
45
46 extern void func_loopfb_marker (void);
47 func_loopfb_marker ();
48}
49
50asm (".globl func_loopfb_end");
51asm ("func_loopfb_end:");
52
53asm (".globl cu_text_end");
54asm ("cu_text_end:");
927aa2e7
JK
55
56/* The .debug_names-based index support depends on .debug_aranges
57 generated by GCC. (.gdb_index includes a gdb-generated map
58 instead.) */
59asm (
60" .pushsection .debug_aranges,\"\",@progbits \n"
61" .4byte .Laranges_end - .Laranges_start \n" // Length of Address Ranges Info
62".Laranges_start: \n"
63" .2byte 0x2 \n" // DWARF Version
64" .4byte 0 \n" // .Ldebug_info0 - Offset of Compilation Unit Info
65" .byte 4 \n" // Size of Address
66" .byte 0 \n" // Size of Segment Descriptor
67" .2byte 0 \n" // Pad to 16 byte boundary
68" .2byte 0 \n"
69" .4byte cu_text_start \n" // Address
70" .4byte cu_text_end - cu_text_start \n" // Length
71" .4byte 0 \n"
72" .4byte 0 \n"
73".Laranges_end: \n"
74" .popsection \n"
75);
This page took 0.800605 seconds and 4 git commands to generate.