[all-commits] [llvm/llvm-project] b4f2d7: [lldb] [llgs] Support "t" vCont action

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Jun 27 09:35:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4f2d7cde54c301f591a8e2a16135bb113c5e7ed
      https://github.com/llvm/llvm-project/commit/b4f2d7cde54c301f591a8e2a16135bb113c5e7ed
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
    M lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py
    M lldb/test/API/tools/lldb-server/vCont-threads/TestGdbRemote_vContThreads.py
    M lldb/test/API/tools/lldb-server/vCont-threads/main.cpp

  Log Message:
  -----------
  [lldb] [llgs] Support "t" vCont action

Implement support for the "t" action that is used to stop a thread.
Normally this action is used only in non-stop mode.  However, there's
no technical reason why it couldn't be also used in all-stop mode,
e.g. to express "resume all threads except ..." (`t:...;c`).

While at it, add a more complete test for vCont correctly resuming
a subset of program's threads.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D126983




More information about the All-commits mailing list