Last change
on this file since 100 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
670 bytes
|
Rev | Line | |
---|
[81] | 1 | #ifndef ENVIRONMENT_COMMON_DEBUG_H |
---|
| 2 | #define ENVIRONMENT_COMMON_DEBUG_H |
---|
| 3 | |
---|
| 4 | #define DEBUG_ENVIRONMENT true |
---|
[88] | 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 |
---|
[81] | 12 | |
---|
[88] | 13 | // #ifdef DEBUG |
---|
[81] | 14 | # define _cout(component, str...) \ |
---|
| 15 | do \ |
---|
| 16 | { \ |
---|
| 17 | if ( DEBUG_ ## component == true ) \ |
---|
| 18 | { \ |
---|
| 19 | fprintf(stdout,str); \ |
---|
| 20 | } \ |
---|
[88] | 21 | } \ |
---|
| 22 | while(0) |
---|
| 23 | // #else |
---|
| 24 | // # define _cout(component, str...) |
---|
| 25 | // do |
---|
| 26 | // { |
---|
| 27 | // } |
---|
| 28 | // while(0) |
---|
| 29 | // #endif |
---|
[81] | 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.