1
0
Fork 0

DBG: Added memory breakpoint's types in BpToBridge conversion.

Fixes: Memory breakpoints summary always shows type as access for all types.
@BreakPointView.
This commit is contained in:
Jack Reez 2020-06-25 15:39:32 +05:30 committed by Duncan Ogilvie
parent ed1eab39e8
commit 829235659f
1 changed files with 15 additions and 0 deletions

View File

@ -704,6 +704,21 @@ void BpToBridge(const BREAKPOINT* Bp, BRIDGEBP* BridgeBp)
break; break;
case BPMEMORY: case BPMEMORY:
BridgeBp->type = bp_memory; BridgeBp->type = bp_memory;
switch(Bp->titantype)
{
case UE_MEMORY_READ:
BridgeBp->typeEx = mem_read;
break;
case UE_MEMORY_WRITE:
BridgeBp->typeEx = mem_write;
break;
case UE_MEMORY_EXECUTE:
BridgeBp->typeEx = mem_execute;
break;
case UE_MEMORY:
BridgeBp->typeEx = mem_access;
break;
}
break; break;
case BPDLL: case BPDLL:
BridgeBp->type = bp_dll; BridgeBp->type = bp_dll;