1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Added 64-bit void* support for 32-bit debugger

This commit is contained in:
Brian Fiete 2022-01-09 08:30:56 -05:00
parent 05c691c83f
commit 446ec6cae7

View file

@ -424,6 +424,19 @@ void COFF::InitCvTypes()
mCvSystemTypes[T_VOID]->mSize = 0;
mCvSystemTypes[T_VOID]->mAlign = 0;
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
CREATE_PRIMITIVE(T_HRESULT, DbgType_u32, "HRESULT", addr_target);
#else