Changeset 694ca93f in mainline for uspace/lib/c/include/rtld/rtld_debug.h
- Timestamp:
- 2011-05-01T19:34:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e26444
- Parents:
- 1ff896e (diff), 042fbe0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/rtld/rtld_debug.h
r1ff896e r694ca93f 1 1 /* 2 * Copyright (c) 20 05 Sergey Bondari2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup amd6429 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef KERN_amd64_MEMSTR_H_36 #define KERN_amd64_MEMSTR_H_35 #ifndef LIBC_RTLD_RTLD_DEBUG_H_ 36 #define LIBC_RTLD_RTLD_DEBUG_H_ 37 37 38 #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) 38 /* Define to enable debugging mode. */ 39 #undef RTLD_DEBUG 39 40 40 extern void memsetw(void *, size_t, uint16_t); 41 extern void memsetb(void *, size_t, uint8_t); 41 #ifdef RTLD_DEBUG 42 #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__) 43 #else 44 #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__) 45 #endif 42 46 43 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.