https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/114478
None >From 530e9db082ce2a3140045a1696c4e5c2f85a8f36 Mon Sep 17 00:00:00 2001 From: Dave Lee <davelee....@gmail.com> Date: Thu, 31 Oct 2024 15:26:21 -0700 Subject: [PATCH] [lldb] Improve command status when dwim-print has no result --- lldb/source/Commands/CommandObjectDWIMPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Commands/CommandObjectDWIMPrint.cpp b/lldb/source/Commands/CommandObjectDWIMPrint.cpp index f5aa6a287b6f46..76bed100dc7291 100644 --- a/lldb/source/Commands/CommandObjectDWIMPrint.cpp +++ b/lldb/source/Commands/CommandObjectDWIMPrint.cpp @@ -231,7 +231,7 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command, if (valobj_sp->GetError().GetError() != UserExpression::kNoResult) dump_val_object(*valobj_sp); else - result.SetStatus(eReturnStatusSuccessFinishResult); + result.SetStatus(eReturnStatusSuccessFinishNoResult); if (suppress_result) if (auto result_var_sp = _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits