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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.hp/] [gdb.compat/] [xdb.c] - Blame information for rev 247

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 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.