I previously asked this question, and discovered that lldb will not passthough the data from the siginfo_t
struct from the original signal; everything is 0'd out except the signal number. The signals and data in siginfo_t
work as expected when the program is not being debugged.
I'm using the process handle
subcommand in lldb to ensure passthough is enabled for SIGTERM
but this doesnt seem to work (or at least not as I expect). I dont know if this applies to all signals, but I'm specifically interested in SIGTERM
.
Is this a bug in lldb? Is there a way to control this behavior? I see nothing in the help.
I'm on macOS 10.14.1 (Mojave) and Xcode 10 (lldb-1000.11.37.1) if that matters.