1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed hot thread state issue with thread creation during hot swap

This commit is contained in:
Brian Fiete 2020-06-15 14:48:25 -07:00
parent b811f5daf8
commit d9b81daac8
2 changed files with 25 additions and 11 deletions

View file

@ -378,13 +378,19 @@ struct DbgPendingDebugInfoLoad
}
};
struct WinHotThreadState
{
CPURegisters mRegisters;
int mThreadId;
};
class WinDebugger : public Debugger
{
public:
SyncEvent mContinueEvent;
Array<HotTargetMemory> mHotTargetMemory;
Array<CPURegisters> mHotThreadStates;
Array<WinHotThreadState> mHotThreadStates;
int mActiveHotIdx;
volatile bool mShuttingDown;