diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-21 22:33:01 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-21 22:33:02 -0800 |
| commit | ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a (patch) | |
| tree | 23411f2b43323688d2cb522e2cf5cc5aab6454e9 /lldb/source/Interpreter/ScriptInterpreter.cpp | |
| parent | 68cb7d85423c19a61c5d6afbc8e004a345a28856 (diff) | |
| download | bcm5719-llvm-ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a.tar.gz bcm5719-llvm-ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a.zip | |
[lldb/ScriptInterpreter] Fix stale/bogus error messages
Fix the nonsensical error messages for when breakpoint and watchpoint
callbacks are not supported.
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
| -rw-r--r-- | lldb/source/Interpreter/ScriptInterpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp index 552661ef80e..0ef859061ab 100644 --- a/lldb/source/Interpreter/ScriptInterpreter.cpp +++ b/lldb/source/Interpreter/ScriptInterpreter.cpp @@ -32,14 +32,14 @@ void ScriptInterpreter::CollectDataForBreakpointCommandCallback( CommandReturnObject &result) { result.SetStatus(eReturnStatusFailed); result.AppendError( - "ScriptInterpreter::GetScriptCommands(StringList &) is not implemented."); + "This script interpreter does not support breakpoint callbacks."); } void ScriptInterpreter::CollectDataForWatchpointCommandCallback( WatchpointOptions *bp_options, CommandReturnObject &result) { result.SetStatus(eReturnStatusFailed); result.AppendError( - "ScriptInterpreter::GetScriptCommands(StringList &) is not implemented."); + "This script interpreter does not support watchpoint callbacks."); } std::string ScriptInterpreter::LanguageToString(lldb::ScriptLanguage language) { |

