Fix a reason of *stopped notifications due to SIGINT/SIGSTOP signals (MI)

# Add SBProcess::GetInterruptedFromEvent
# Add vrEvent arg in CMICmnLLDBDebuggerHandleEvents::HandleProcessEventStateStopped
  and CMICmnLLDBDebuggerHandleEvents::HandleProcessEventStopSignal
# Refactor CMICmnLLDBDebuggerHandleEvents::HandleProcessEventStopSignal
## Clean up and fix typos
## Remove vwrbShouldBrk arg
# Fix MiSignalTestCase.test_lldbmi_stopped_when_stopatentry_{local,remote}
  to expect SIGSTOP instead of SIGINT

llvm-svn: 237426
This commit is contained in:
Ilia K
2015-05-15 09:29:09 +00:00
parent d50ea2fc15
commit 06d2855fb3
6 changed files with 81 additions and 34 deletions

View File

@@ -998,6 +998,12 @@ SBProcess::GetProcessFromEvent (const SBEvent &event)
return process;
}
bool
SBProcess::GetInterruptedFromEvent (const SBEvent &event)
{
return Process::ProcessEventData::GetInterruptedFromEvent(event.get());
}
bool
SBProcess::EventIsProcessEvent (const SBEvent &event)
{