[Lldb-commits] [PATCH] D145136: Add a Debugger interruption mechanism in parallel to the Command Interpreter interruption

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 7 12:56:43 PST 2023


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

Converted the test from using a lock to synchronize the command and test threads to using barriers.
Changed the CommandInterpreter to print partial results when commands are interrupted.
Fixed other review comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145136

Files:
  lldb/include/lldb/API/SBCommandInterpreter.h
  lldb/include/lldb/API/SBDebugger.h
  lldb/include/lldb/Core/Debugger.h
  lldb/include/lldb/Interpreter/CommandInterpreter.h
  lldb/source/API/SBCommandInterpreter.cpp
  lldb/source/API/SBDebugger.cpp
  lldb/source/API/SBFrame.cpp
  lldb/source/Commands/CommandObjectTarget.cpp
  lldb/source/Commands/CommandObjectThread.cpp
  lldb/source/Core/Debugger.cpp
  lldb/source/Interpreter/CommandInterpreter.cpp
  lldb/source/Target/StackFrameList.cpp
  lldb/test/API/python_api/was_interrupted/Makefile
  lldb/test/API/python_api/was_interrupted/TestDebuggerInterruption.py
  lldb/test/API/python_api/was_interrupted/interruptible.py
  lldb/test/API/python_api/was_interrupted/main.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145136.503136.patch
Type: text/x-patch
Size: 37384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230307/9bd5cafe/attachment-0001.bin>


More information about the lldb-commits mailing list