1
0
forked from 0ad/0ad

win_internal: add DataKind (fix for dbghelp.h which left it out)

wdbg: work around several dbghelp flaws (most importantly concerning
address of symbol, which was leading to completely wrong display).
refactored sym_dump_*. also further cleanup + dox.

This was SVN commit r2372.
This commit is contained in:
janwas 2005-06-04 18:17:29 +00:00
parent fca4bab2dd
commit 211c8e66d8

View File

@ -260,7 +260,7 @@ typedef struct _PROCESSOR_POWER_INFORMATION
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// //
// fixes for dbghelp.h 6.3 // fixes for dbghelp.h 6.4
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
@ -290,7 +290,10 @@ typedef struct _PROCESSOR_POWER_INFORMATION
#endif #endif
//
// not defined by dbghelp; these values are taken from DIA cvconst.h // not defined by dbghelp; these values are taken from DIA cvconst.h
//
enum BasicType enum BasicType
{ {
btNoType = 0, btNoType = 0,
@ -313,6 +316,21 @@ enum BasicType
btHresult = 31 btHresult = 31
}; };
enum DataKind
{
DataIsUnknown,
DataIsLocal,
DataIsStaticLocal,
DataIsParam,
DataIsObjectPtr,
DataIsFileStatic,
DataIsGlobal,
DataIsMember,
DataIsStaticMember,
DataIsConstant
};
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////