[Lldb-commits] [lldb] Add option to pass thread ID to thread select command (PR #73596)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 28 13:50:30 PST 2023


================
@@ -1117,6 +1117,11 @@ let Command = "thread plan list" in {
     Desc<"Display thread plans for unreported threads">;
 }
 
+let Command = "thread select" in {
+  def thread_thread_id : Option<"thread_id", "t">,
----------------
clayborg wrote:

Also wondering if there is only one long option that can be specified? It would be nice to allow "--thread-id <tid>" or "--tid <tid>" or "-t <tid>". Not sure if the LLVM option parsing stuff allows multiple long options? @jimingham thoughts?

https://github.com/llvm/llvm-project/pull/73596


More information about the lldb-commits mailing list