[all-commits] [llvm/llvm-project] aed179: [lldb] [Process/FreeBSD] Do not send SIGSTOP to st...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Jun 3 06:19:32 PDT 2022


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

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp

  Log Message:
  -----------
  [lldb] [Process/FreeBSD] Do not send SIGSTOP to stopped process

Do not send SIGSTOP when requested to halt a process that's already
stopped.  This results in the signal being queued for delivery once
the process is resumed, and unexpectedly stopping it again.

This is necessary for non-stop protocol patches to land.

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




More information about the All-commits mailing list