[Lldb-commits] [PATCH] D126789: Stop regex commands from double entry into the history

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 1 09:06:53 PDT 2022


jingham added a comment.

Note, the original code tries to finesse this by passing eLazyBoolCalculate, which then resolves to a check against the current command depth.  But that check was wrong for SBDebugger.HandleCommand, which is considered at depth 0, and anyway, I don't think it ever makes sense to have the regex command add the resolved command to the history.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126789/new/

https://reviews.llvm.org/D126789



More information about the lldb-commits mailing list