Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6d24029

Browse files
author
Mike McLaughlin
committed
Fix build break from CL# 1544863 (git PR #1946 merge commit 810b116)
[tfs-changeset: 1545107]
1 parent b9b102b commit 6d24029

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/debug/daccess/dacfn.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ DacWriteAll(TADDR addr, PVOID buffer, ULONG32 size, bool throwEx)
219219
}
220220

221221
HRESULT
222-
DacVirtualUnwind(DWORD threadId, CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers)
222+
DacVirtualUnwind(DWORD threadId, PCONTEXT context, PT_KNONVOLATILE_CONTEXT_POINTERS contextPointers)
223223
{
224224
if (!g_dacImpl)
225225
{
@@ -230,7 +230,7 @@ DacVirtualUnwind(DWORD threadId, CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS
230230
// The DAC code doesn't use these context pointers but zero them out to be safe.
231231
if (contextPointers != NULL)
232232
{
233-
memset(contextPointers, 0, sizeof(KNONVOLATILE_CONTEXT_POINTERS));
233+
memset(contextPointers, 0, sizeof(T_KNONVOLATILE_CONTEXT_POINTERS));
234234
}
235235

236236
ReleaseHolder<ICorDebugDataTarget4> dt;

src/inc/daccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ HRESULT DacFreeVirtual(TADDR mem, ULONG32 size, ULONG32 typeFlags,
663663
PVOID DacInstantiateTypeByAddress(TADDR addr, ULONG32 size, bool throwEx);
664664
PVOID DacInstantiateTypeByAddressNoReport(TADDR addr, ULONG32 size, bool throwEx);
665665
PVOID DacInstantiateClassByVTable(TADDR addr, ULONG32 minSize, bool throwEx);
666-
HRESULT DacVirtualUnwind(ULONG32 threadId, CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers);
666+
HRESULT DacVirtualUnwind(ULONG32 threadId, PCONTEXT context, PT_KNONVOLATILE_CONTEXT_POINTERS contextPointers);
667667

668668
// Copy a null-terminated ascii or unicode string from the target to the host.
669669
// Note that most of the work here is to find the null terminator. If you know the exact length,

0 commit comments

Comments
 (0)