Fix a typo in list-register-names command.
It was giving error when process was valid. llvm-svn: 228299
This commit is contained in:
parent
b6e1fde719
commit
6a814ad142
|
@ -828,7 +828,7 @@ CMICmdCmdDataListRegisterNames::Execute(void)
|
|||
{
|
||||
CMICmnLLDBDebugSessionInfo &rSessionInfo(CMICmnLLDBDebugSessionInfo::Instance());
|
||||
lldb::SBProcess sbProcess = rSessionInfo.GetProcess();
|
||||
if (sbProcess.IsValid())
|
||||
if (!sbProcess.IsValid())
|
||||
{
|
||||
SetError(CMIUtilString::Format(MIRSRC(IDS_CMD_ERR_INVALID_PROCESS), m_cmdData.strMiCmd.c_str()));
|
||||
return MIstatus::failure;
|
||||
|
|
Loading…
Reference in New Issue