[PATCH 16/57][Arm][GAS] Add support for MVE instructions: vdup, vddup, vdwdup, vidup...
[binutils-gdb.git] / gdb / testsuite / gdb.mi / dw2-ref-missing-frame-func.c
blob89cf992e7eddd72c193e03c67ca6cf7139a344f9
1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2010-2019 Free Software Foundation, Inc.
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.
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.
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/>. */
18 asm (".globl cu_text_start");
19 asm ("cu_text_start:");
21 asm (".globl func_nofb_start");
22 asm ("func_nofb_start:");
24 void
25 func_nofb (void)
27 /* int func_nofb_var; */
28 /* int func_nofb_var2; */
30 extern void func_nofb_marker (void);
31 func_nofb_marker ();
34 asm (".globl func_nofb_end");
35 asm ("func_nofb_end:");
37 asm (".globl func_loopfb_start");
38 asm ("func_loopfb_start:");
40 void
41 func_loopfb (void)
43 /* int func_loopfb_var; */
44 /* int func_loopfb_var2; */
46 extern void func_loopfb_marker (void);
47 func_loopfb_marker ();
50 asm (".globl func_loopfb_end");
51 asm ("func_loopfb_end:");
53 asm (".globl cu_text_end");
54 asm ("cu_text_end:");
56 /* The .debug_names-based index support depends on .debug_aranges
57 generated by GCC. (.gdb_index includes a gdb-generated map
58 instead.) */
59 asm (
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"