[all-commits] [llvm/llvm-project] 33ac4f: Change debugserver to spawn processes in their own...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Thu Nov 24 10:59:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 33ac4fddc7906ba712c50cd3a9b02ae041d751ab
https://github.com/llvm/llvm-project/commit/33ac4fddc7906ba712c50cd3a9b02ae041d751ab
Author: Jason Molenda <jason at molenda.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)
Changed paths:
M lldb/tools/debugserver/source/MacOSX/MachProcess.mm
Log Message:
-----------
Change debugserver to spawn processes in their own pgrp
Change debugserver's posix_spawn() to spawn an inferior process in
its own process group, so signals from the terminal like control-c
are passed to the inferior process instead of debugserer. In lldb's
own native-host launching, there is a LaunchInfo option
LaunchInSeparateProcessGroup, and this mirrors the most common
setting of that on Darwin systems.
Patch by Alessandro Arzilli <alessandro.arzilli at gmail.com>.
Differential Revision: https://reviews.llvm.org/D128504
More information about the All-commits
mailing list