summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-31 22:22:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-31 22:22:06 +0000
commit8e9383d69c96e72e6fb30d72e8c35543cc1b5949 (patch)
treeaa2259dd46d400e6d7bfedf5ca642a00bc496ca6 /lldb/source/Interpreter
parentfc8feb8137872d70d87f566888a099185e1cb3df (diff)
downloadbcm5719-llvm-8e9383d69c96e72e6fb30d72e8c35543cc1b5949.tar.gz
bcm5719-llvm-8e9383d69c96e72e6fb30d72e8c35543cc1b5949.zip
Revert 143359 and modify the test case to not include non-valid c identifier character.
llvm-svn: 143372
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index e5c6e325d83..0b9e4db2450 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -1376,6 +1376,13 @@ CommandInterpreter::HandleCommand (const char *command_line,
}
}
break;
+
+ default:
+ result.AppendErrorWithFormat ("unknown command shorthand suffix: '%s'\n",
+ suffix.c_str());
+ result.SetStatus (eReturnStatusFailed);
+ return false;
+
}
}
}
OpenPOWER on IntegriCloud