Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

kDbgInternal.h File Reference


Detailed Description

kDbg - The Debug Info Reader, Internal Header.

Definition in file kDbgInternal.h.

#include <k/kHlpAssert.h>
#include <k/kMagics.h>
#include <k/kErrors.h>
#include <k/kDbgAll.h>

Go to the source code of this file.

Defines

#define KDBGMOD_VALIDATE(pDbgMod)
#define KDBGMOD_VALIDATE_EX(pDbgMod, rc)
#define KDBGMOD_VALIDATE_VOID(pDbgMod)
Our Assert macros
#define kDbgAssert(expr)   do { } while (0)
#define kDbgAssertFailed()   kDbgAssert(0)
#define kDbgAssertFailedReturn(rcRet)   kDbgAssertReturn(0, (rcRet))
#define kDbgAssertFailedReturnVoid()   kDbgAssertReturnVoid(0)
#define kDbgAssertMsg(expr, msg)   do { } while (0)
#define kDbgAssertMsgFailed(msg)   kDbgAssertMsg(0, msg)
#define kDbgAssertMsgFailedReturn(msg, rcRet)   kDbgAssertMsgReturn(0, msg, (rcRet))
#define kDbgAssertMsgFailedReturnVoid(msg)   kDbgAssertMsgReturnVoid(0, msg)
#define kDbgAssertMsgReturn(expr, msg, rcRet)   do { if (!(expr)) return (rcRet); } while (0)
#define kDbgAssertPtr(ptr)   kDbgAssertMsg(K_VALID_PTR(ptr), ("%s = %p\n", #ptr, (ptr)))
#define kDbgAssertPtrNull(ptr)   kDbgAssertMsg(!(ptr) || K_VALID_PTR(ptr), ("%s = %p\n", #ptr, (ptr)))
#define kDbgAssertPtrNullReturn(ptr, rcRet)   kDbgAssertMsgReturn(!(ptr) || K_VALID_PTR(ptr), ("%s = %p -> %d\n", #ptr, (ptr), (rcRet)), (rcRet))
#define kDbgAssertPtrNullReturnVoid(ptr)   kDbgAssertMsgReturnVoid(!(ptr) || K_VALID_PTR(ptr), ("%s = %p -> %d\n", #ptr, (ptr), (rcRet)))
#define kDbgAssertPtrReturn(ptr, rcRet)   kDbgAssertMsgReturn(K_VALID_PTR(ptr), ("%s = %p -> %d\n", #ptr, (ptr), (rcRet)), (rcRet))
#define kDbgAssertPtrReturnVoid(ptr)   kDbgAssertMsgReturnVoid(K_VALID_PTR(ptr), ("%s = %p -> %d\n", #ptr, (ptr), (rcRet)))
#define kDbgAssertRC(rc)   kDbgAssertMsg((rc) == 0, ("%s = %d\n", #rc, (rc)))
#define kDbgAssertRCReturn(rc, rcRet)   kDbgAssertMsgReturn((rc) == 0, ("%s = %d -> %d\n", #rc, (rc), (rcRet)), (rcRet))
#define kDbgAssertRCReturnVoid(rc)   kDbgAssertMsgReturnVoid((rc) == 0, ("%s = %d -> %d\n", #rc, (rc), (rcRet)))
#define kDbgAssertReturn(expr, rcRet)   do { if (!(expr)) return (rcRet); } while (0)

Variables

Built-in Debug Module Readers
KDBGMODOPS const g_kDbgModCv8
KDBGMODOPS const g_kDbgModDwarf
KDBGMODOPS const g_kDbgModHll
KDBGMODOPS const g_kDbgModLdr
KDBGMODOPS const g_kDbgModMapILink
KDBGMODOPS const g_kDbgModMapMSLink
KDBGMODOPS const g_kDbgModMapNm
KDBGMODOPS const g_kDbgModMapWLink
KDBGMODOPS const g_kDbgModStabs
KDBGMODOPS const g_kDbgModSym
KDBGMODOPS const g_kDbgModWinDbgHelpOpen


Generated by  Doxygen 1.6.0   Back to index