OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [gdb.hp/] [gdb.compat/] [xdb.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
#include <stdio.h>
2
 
3
int callee( x )
4
int x;
5
{
6
    int y = x * x;
7
    return (y - 2);
8
}
9
 
10
main()
11
{
12
    int i;
13
    for (i = 1; i < 10; i++)
14
        {
15
            printf( "%d ", callee( i ));
16
 
17
        }
18
    printf( " Goodbye!\n" );
19
 
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.