jingham added a comment.

I think it's fine to fall back to the "currently selected target" if the 
command interpreter doesn't have a current execution context, that should not 
be your first choice.

For instance, if you are running this command in a Python breakpoint callback, 
then the current Interpreter context will be set to the target/process/thread 
that the interpreter is running that command for, whereas the selected context 
will be whatever the user last selected, and may be for a totally different 
target/process/thread.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95761

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

Reply via email to