blob: 376ea172d1d8de6f70e1d44856f6727e506c1740 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* This program is used to test the "jump" command. There's nothing
particularly deep about the functionality nor names in here.
*/
static int square (int x)
{
return x*x; /* out-of-func */
}
int main ()
{
int i = 99;
i++;
i = square (i); /* bp-on-call */
i--; /* bp-on-non-call */
return 0;
}
|