Author: Jonas Devlieghere
Date: 2025-04-10T16:55:59-07:00
New Revision: a62b9b387fab85ae8ad63992b002c333069d87ae

URL: 
https://github.com/llvm/llvm-project/commit/a62b9b387fab85ae8ad63992b002c333069d87ae
DIFF: 
https://github.com/llvm/llvm-project/commit/a62b9b387fab85ae8ad63992b002c333069d87ae.diff

LOG: [lldb] Calling Debugger::SetStatuslineFormat should redraw the statusline

Added: 
    

Modified: 
    lldb/source/Core/Debugger.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index bfec1fa64ea52..e65d71ddf6960 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -486,7 +486,9 @@ const FormatEntity::Entry *Debugger::GetStatuslineFormat() 
const {
 
 bool Debugger::SetStatuslineFormat(const FormatEntity::Entry &format) {
   constexpr uint32_t idx = ePropertyStatuslineFormat;
-  return SetPropertyAtIndex(idx, format);
+  bool ret = SetPropertyAtIndex(idx, format);
+  RedrawStatusline();
+  return ret;
 }
 
 bool Debugger::GetUseAutosuggestion() const {


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to