URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/or1k/trunk/gdb-5.0/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03
- from Rev 107 to Rev 1765
- ↔ Reverse comparison
Rev 107 → Rev 1765
/x1.cc
0,0 → 1,15
#include <stdio.h> |
|
extern int foo(); |
extern int common3; |
extern int data3; |
extern int common11; |
extern int data11; |
|
int main() |
{ |
common11 = 11; |
printf("In main: %d %d %d\n", data3, common3, foo(), common11, data11); |
|
return 0; |
} |
/x2.cc
0,0 → 1,7
#include <stdio.h> |
|
int common10; |
int common11; |
|
int data10 = 10; |
int data11 = 11; |
/x3.cc
0,0 → 1,21
#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; |
} |