Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
901 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. debug.hxx
  5. Abstract:
  6. This file header contains prototypes for debug routines to
  7. debug extenstion problems.
  8. Author:
  9. JasonHa
  10. --*/
  11. #ifndef _DEBUG_HXX_
  12. #define _DEBUG_HXX_
  13. #include <wdbgexts.h>
  14. #if DBG
  15. extern const char NoIndent[];
  16. void
  17. vPrintNativeFieldInfo(
  18. PFIELD_INFO pFI,
  19. const char *pszIndent = NoIndent);
  20. void
  21. vPrintNativeSymDumpParam(
  22. PSYM_DUMP_PARAM pSDP,
  23. BOOL bDumpFields = TRUE,
  24. const char *pszIndent = NoIndent);
  25. #define RIP(msg) \
  26. do { \
  27. DbgPrint(msg); \
  28. DbgBreakPoint(); \
  29. } while (0)
  30. #else
  31. // Disable DbgPrint from NT RTL
  32. #define DbgPrint
  33. #define RIP(msg)
  34. #define vPrintNativeFieldInfo
  35. #define vPrintNativeSymDumpParam
  36. #endif DBG
  37. #endif _DEBUG_HXX_