This patch changes the ScriptedThread class to create the register
context when Process::RefreshStateAfterStop is called rather than
doing it in the thread constructor.
This is required to update the thread state for execution control
support.
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
const