mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Added 64-bit void* support for 32-bit debugger
This commit is contained in:
parent
05c691c83f
commit
446ec6cae7
1 changed files with 13 additions and 0 deletions
|
@ -424,6 +424,19 @@ void COFF::InitCvTypes()
|
||||||
mCvSystemTypes[T_VOID]->mSize = 0;
|
mCvSystemTypes[T_VOID]->mSize = 0;
|
||||||
mCvSystemTypes[T_VOID]->mAlign = 0;
|
mCvSystemTypes[T_VOID]->mAlign = 0;
|
||||||
mCvSystemTypes[T_PVOID] = ptrType;
|
mCvSystemTypes[T_PVOID] = ptrType;
|
||||||
|
|
||||||
|
#ifdef BF_DBG_32
|
||||||
|
BP_ALLOC_T(DbgType);
|
||||||
|
ptrType = mAlloc.Alloc<DbgType>();
|
||||||
|
ptrType->mCompileUnit = mMasterCompileUnit;
|
||||||
|
ptrType->mTypeCode = DbgType_Ptr;
|
||||||
|
ptrType->mSize = 8;
|
||||||
|
ptrType->mAlign = 8;
|
||||||
|
ptrType->mTypeParam = dbgType;
|
||||||
|
dbgType->mPtrType = ptrType;
|
||||||
|
mCvSystemTypes[(int)T_VOID | 0x0600] = ptrType;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef BF_DBG_32
|
#ifdef BF_DBG_32
|
||||||
CREATE_PRIMITIVE(T_HRESULT, DbgType_u32, "HRESULT", addr_target);
|
CREATE_PRIMITIVE(T_HRESULT, DbgType_u32, "HRESULT", addr_target);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue