From ba0eb7b66fd9dac7bf4883f70b65bded03a4b97a Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Sat, 21 Dec 2019 22:33:01 -0800 Subject: [lldb/ScriptInterpreter] Fix stale/bogus error messages Fix the nonsensical error messages for when breakpoint and watchpoint callbacks are not supported. --- lldb/source/Interpreter/ScriptInterpreter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp') 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) { -- cgit v1.2.3