1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Made rehupping of memory breakpoints more conservative

This commit is contained in:
Brian Fiete 2020-11-24 10:36:59 -08:00
parent 3adf9a144e
commit 5f339d811d
2 changed files with 11 additions and 0 deletions

View file

@ -251,6 +251,7 @@ public:
addr_target mStoppedAtAddress;
addr_target mIsAtBreakpointAddress;
addr_target mBreakpointAddressContinuing;
int mMemoryBreakpointVersion;
public:
WdThreadInfo()
@ -267,6 +268,7 @@ public:
mIsAtBreakpointAddress = 0;
mStoppedAtAddress = 0;
mBreakpointAddressContinuing = 0;
mMemoryBreakpointVersion = 0;
}
};
@ -454,6 +456,7 @@ public:
DWORD mDebuggerThreadId;
WdMemoryBreakpointBind mMemoryBreakpoints[4];
int mMemoryBreakpointVersion;
Dictionary<addr_target, int> mPhysBreakpointAddrMap; // To make sure we don't create multiple physical breakpoints at the same addr
Array<WdBreakpoint*> mBreakpoints;
Dictionary<addr_target, WdBreakpoint*> mBreakpointAddrMap;