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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.hp/] [gdb.compat/] [xdb.c] - Blame information for rev 841

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
#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.