Last change
on this file since 115 was
114,
checked in by rosiere, 15 years ago
|
1) Fix bug with previous commit
2) Add test libc
3) Change Dhrystone
|
-
Property svn:keywords set to
Id
|
File size:
711 bytes
|
Line | |
---|
1 | #ifndef ENVIRONMENT_COMMON_DEBUG_H |
---|
2 | #define ENVIRONMENT_COMMON_DEBUG_H |
---|
3 | |
---|
4 | #define DEBUG_ENVIRONMENT true |
---|
5 | #define DEBUG_CACHE true |
---|
6 | #define DEBUG_DATA true |
---|
7 | #define DEBUG_ENDIANNESS true |
---|
8 | #define DEBUG_QUEUE true |
---|
9 | #define DEBUG_RAMLOCK true |
---|
10 | #define DEBUG_SIM2OS true |
---|
11 | #define DEBUG_TTY true |
---|
12 | |
---|
13 | # define _cout(component, str...) \ |
---|
14 | do \ |
---|
15 | { \ |
---|
16 | if ( DEBUG_ ## component == true ) \ |
---|
17 | { \ |
---|
18 | fprintf(stdout,str); \ |
---|
19 | } \ |
---|
20 | } \ |
---|
21 | while(0) |
---|
22 | |
---|
23 | # define _cerr(str...) \ |
---|
24 | do \ |
---|
25 | { \ |
---|
26 | fprintf(stderr,str); \ |
---|
27 | } \ |
---|
28 | while(0) |
---|
29 | |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.