Move `compute_probe_arg' and `compile_probe_arg' to probe.c
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / mips_pro.c
CommitLineData
c906108c
SS
1/* Tests regarding examination of prologues. */
2
085dd6e6
JM
3int
4inner (int z)
c906108c
SS
5{
6 return 2 * z;
7}
8
085dd6e6
JM
9int
10middle (int x)
c906108c
SS
11{
12 if (x == 0)
13 return inner (5);
14 else
15 return inner (6);
16}
17
085dd6e6
JM
18int
19top (int y)
c906108c
SS
20{
21 return middle (y + 1);
22}
23
085dd6e6
JM
24int
25main (int argc, char **argv)
c906108c 26{
c906108c
SS
27 return top (-1) + top (1);
28}
This page took 1.889869 seconds and 4 git commands to generate.