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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [testsuite/] [gdb.hp/] [gdb.objdbg/] [objdbg03/] [x3.cc] - Rev 1765

Compare with Previous | Blame | View Log

#include <stdio.h>
 
int common1;
int common2;
int common3;
static int common4;
 
int data1 = 1;
int data2 = 2;
int data3 = 3;
static int data4 = 4;
 
int foo()
{
  common1 = 1;
  common2 = 2;
  common3 = 3;
  common4 = 4;
 
  return data1 + data2 + data3 + data4 + common1 + common2 + common3 + common4;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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