Automatic Copyright Year update after running gdb/copyright.py
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / frameapply.c
CommitLineData
3606ccab
PW
1/* This testcase is part of GDB, the GNU debugger.
2
88b9d363 3 Copyright 2018-2022 Free Software Foundation, Inc.
3606ccab
PW
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
18static void
19setup_done (void)
20{
21}
22
23static int
24f1 (int f1arg)
25{
26 int f1loc;
27
28 f1loc = f1arg - 1;
29
30 setup_done ();
31 return f1loc;
32}
33
34static int
35f2 (int f2arg)
36{
37 int f2loc;
38
39 f2loc = f1 (f2arg - 1);
40
41 return f2loc;
42}
43
44static int
45f3 (int f3arg)
46{
47 int f3loc;
48
49 f3loc = f2 (f3arg - 1);
50
51 return f3loc;
52}
53
54static int
55f4 (int f4arg)
56{
57 int f4loc;
58
59 f4loc = f3 (f4arg - 1);
60
61 return f4loc;
62}
63
64int
65main (void)
66{
67 int result;
68
69 result = f4 (4);
70 return 0;
71}
This page took 0.601779 seconds and 4 git commands to generate.