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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.hp/] [gdb.objdbg/] [objdbg03/] [x3.cc] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
#include <stdio.h>
2
 
3
int common1;
4
int common2;
5
int common3;
6
static int common4;
7
 
8
int data1 = 1;
9
int data2 = 2;
10
int data3 = 3;
11
static int data4 = 4;
12
 
13
int foo()
14
{
15
  common1 = 1;
16
  common2 = 2;
17
  common3 = 3;
18
  common4 = 4;
19
 
20
  return data1 + data2 + data3 + data4 + common1 + common2 + common3 + common4;
21
}

powered by: WebSVN 2.1.0

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