[Lldb-commits] [PATCH] D119046: Add a repeat command option for "thread backtrace --count N".

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 8 18:09:49 PST 2022


jingham updated this revision to Diff 407023.
jingham added a comment.

Ran clang-format over the diff

Added a simpler test that doesn't try to rendezvous the two threads so they are in known states, but just does a repeated backtrace on the first thread that hits the breakpoint.  Hopefully the simpler test will run on more platforms.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119046

Files:
  lldb/include/lldb/Interpreter/CommandObject.h
  lldb/include/lldb/Interpreter/CommandObjectMultiword.h
  lldb/source/API/SBCommandInterpreter.cpp
  lldb/source/Breakpoint/BreakpointLocationCollection.cpp
  lldb/source/Commands/CommandObjectCommands.cpp
  lldb/source/Commands/CommandObjectMemory.cpp
  lldb/source/Commands/CommandObjectMultiword.cpp
  lldb/source/Commands/CommandObjectProcess.cpp
  lldb/source/Commands/CommandObjectSource.cpp
  lldb/source/Commands/CommandObjectThread.cpp
  lldb/source/Interpreter/CommandInterpreter.cpp
  lldb/test/API/commands/thread/backtrace/Makefile
  lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
  lldb/test/API/commands/thread/backtrace/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119046.407023.patch
Type: text/x-patch
Size: 25440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220209/0efa5ce0/attachment-0001.bin>


More information about the lldb-commits mailing list