aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-infthread.c
blob: 22eb9f2fdf80dde3c0105263823a280714e7ee06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int f2 (int a)
{
  return ++a;
}

int f1 (int a, int b)
{
  return f2(a) + b;
}

int main (int argc, char *argv[])
{
  return f1 (1, 2);
}