Add exec support for Linux including common support for POSIX.
llvm-svn: 192319
This commit is contained in:
@@ -352,6 +352,10 @@ POSIXThread::Notify(const ProcessMessage &message)
|
||||
case ProcessMessage::eNewThreadMessage:
|
||||
ThreadNotify(message);
|
||||
break;
|
||||
|
||||
case ProcessMessage::eExecMessage:
|
||||
ExecNotify(message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -574,6 +578,12 @@ POSIXThread::GetRegisterIndexFromOffset(unsigned offset)
|
||||
return reg;
|
||||
}
|
||||
|
||||
void
|
||||
POSIXThread::ExecNotify(const ProcessMessage &message)
|
||||
{
|
||||
SetStopInfo (StopInfo::CreateStopReasonWithExec(*this));
|
||||
}
|
||||
|
||||
const char *
|
||||
POSIXThread::GetRegisterName(unsigned reg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user