llvm-project/lldb/tools/debugserver/source
Jason Molenda 33ac4fddc7 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@gmail.com>.

Differential Revision: https://reviews.llvm.org/D128504
2022-11-24 10:59:12 -08:00
..
MacOSX Change debugserver to spawn processes in their own pgrp 2022-11-24 10:59:12 -08:00
ARM_DWARF_Registers.h
ARM_ehframe_Registers.h
CMakeLists.txt [CMake] Fix -Wstrict-prototypes 2022-11-08 01:37:04 +00:00
ChangeLog
DNB.cpp Handle an unknown binary platform type in debugserver 2022-10-27 13:11:20 -07:00
DNB.h Handle an unknown binary platform type in debugserver 2022-10-27 13:11:20 -07:00
DNBArch.cpp
DNBArch.h
DNBBreakpoint.cpp [LLDB] Applying clang-tidy modernize-use-equals-default over LLDB 2022-03-31 13:21:49 -07:00
DNBBreakpoint.h
DNBDataRef.cpp [LLDB] Applying clang-tidy modernize-use-equals-default over LLDB 2022-03-31 13:21:49 -07:00
DNBDataRef.h
DNBDefs.h Fix debugserver translation check 2022-05-05 11:31:23 -07:00
DNBError.cpp
DNBError.h
DNBLog.cpp
DNBLog.h
DNBRegisterInfo.cpp
DNBRegisterInfo.h
DNBRuntimeAction.h
DNBThreadResumeActions.cpp
DNBThreadResumeActions.h
DNBTimer.h [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
JSON.cpp [lldb] Move StringConvert inside debugserver 2021-09-27 14:32:42 +02:00
JSON.h [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
JSONGenerator.h Add DumpBinaryEscaped method to JSONGenerator, avoid extra copy 2022-04-04 14:14:02 -07:00
PThreadCondition.h
PThreadEvent.cpp
PThreadEvent.h
PThreadMutex.cpp
PThreadMutex.h
PseudoTerminal.cpp
PseudoTerminal.h
RNBContext.cpp Add a darwin platform setting to specify which exceptions debugserver 2022-05-18 10:16:11 -07:00
RNBContext.h Add a darwin platform setting to specify which exceptions debugserver 2022-05-18 10:16:11 -07:00
RNBDefs.h
RNBRemote.cpp Handle an unknown binary platform type in debugserver 2022-10-27 13:11:20 -07:00
RNBRemote.h Add a darwin platform setting to specify which exceptions debugserver 2022-05-18 10:16:11 -07:00
RNBServices.cpp
RNBServices.h
RNBSocket.cpp
RNBSocket.h
StdStringExtractor.cpp [LLDB] Applying clang-tidy modernize-use-equals-default over LLDB 2022-03-31 13:21:49 -07:00
StdStringExtractor.h
StringConvert.cpp [lldb] Move StringConvert inside debugserver 2021-09-27 14:32:42 +02:00
StringConvert.h [lldb] Move StringConvert inside debugserver 2021-09-27 14:32:42 +02:00
SysSignal.cpp
SysSignal.h
TTYState.cpp [LLDB] Applying clang-tidy modernize-use-equals-default over LLDB 2022-03-31 13:21:49 -07:00
TTYState.h
debugserver.cpp Add a darwin platform setting to specify which exceptions debugserver 2022-05-18 10:16:11 -07:00
debugserver_vers.c.in
libdebugserver.cpp
libdebugserver.h