Mercurial > flash_v2
comparison packages/hal/common/current/src/generic-stub.c @ 145:2e9a636d9de9 ecos-sw-2000-12-21
Merge from eCos master repository on 2000-12-21-14:18:40-GMT
| author | jlarmour |
|---|---|
| date | Fri, 22 Dec 2000 02:37:28 +0000 |
| parents | 289bf90c6a9b |
| children | 25e238959bae |
comparison
equal
deleted
inserted
replaced
| 144:da1052144c56 | 145:2e9a636d9de9 |
|---|---|
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 #include "thread-pkts.h" | 17 #include "thread-pkts.h" |
| 18 /* Defines function macros if thread support is not selected in board.h */ | 18 /* Defines function macros if thread support is not selected in board.h */ |
| 19 | 19 |
| 20 #ifdef __ECOS__ | |
| 21 char GDB_stubs_version[] CYGBLD_ATTRIB_WEAK = | |
| 22 "eCos GDB stubs - built " __DATE__ " / " __TIME__; | |
| 23 #endif | |
| 20 | 24 |
| 21 /**************************************************************************** | 25 /**************************************************************************** |
| 22 | 26 |
| 23 THIS SOFTWARE IS NOT COPYRIGHTED | 27 THIS SOFTWARE IS NOT COPYRIGHTED |
| 24 | 28 |
| 1036 break; | 1040 break; |
| 1037 } | 1041 } |
| 1038 #endif | 1042 #endif |
| 1039 case 'd': | 1043 case 'd': |
| 1040 /* toggle debug flag */ | 1044 /* toggle debug flag */ |
| 1041 strcpy(remcomOutBuffer, "eCos GDB stubs" | 1045 strcpy(remcomOutBuffer, GDB_stubs_version); |
| 1042 #ifdef CYGPKG_REDBOOT | |
| 1043 " [with RedBoot]" | |
| 1044 #endif | |
| 1045 " - built " __DATE__ " / " __TIME__); | |
| 1046 break; | 1046 break; |
| 1047 #endif | 1047 #endif |
| 1048 #endif // __ECOS__ | 1048 #endif // __ECOS__ |
| 1049 | 1049 |
| 1050 case 'q': | 1050 case 'q': |
