Fix a typo in list-register-names command.

It was giving error when process was valid.

llvm-svn: 228299
This commit is contained in:
Hafiz Abid Qadeer 2015-02-05 14:57:07 +00:00
parent b6e1fde719
commit 6a814ad142
1 changed files with 1 additions and 1 deletions

View File

@ -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;