Debugger: Add hook for variable value writing.

WriteValueNodeJob:
- Implement async job that creates a ValueWriter to update a variable
  value on request.

UserInterfaceListener:
- Add hook for requesting that a node be updated with a new value.
  Implement in TeamDebugger by scheduling a WriteValueNodeJob.
This commit is contained in:
Rene Gollent
2015-07-24 17:08:53 -04:00
parent 9b0d97576d
commit 7d25ab995d
6 changed files with 134 additions and 3 deletions
@@ -73,6 +73,9 @@ private:
virtual void ValueNodeValueRequested(CpuState* cpuState,
ValueNodeContainer* container,
ValueNode* valueNode);
virtual void ValueNodeWriteRequested(ValueNode* node,
CpuState* state,
Value* newValue);
virtual void ThreadActionRequested(thread_id threadID,
uint32 action, target_addr_t address);