aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp/xdb.c
blob: e3e3fc23e9f57a3c81634956e2651e904cd43fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>

int callee( x )
int x;
{
    int y = x * x;
    return (y - 2);
}

main()
{
    int i;
    for (i = 1; i < 10; i++)
        {
            printf( "%d ", callee( i ));
            
        }
    printf( " Goodbye!\n" );
    
}