[Lldb-commits] [PATCH] D67776: Use UnixSignals::ShouldSuppress to filter out signals a process expects

Tatyana Krasnukha via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 25 06:30:00 PDT 2019


tatyana-krasnukha added a comment.

To Pavel: this problem is not only about the behavior of process attach, but for process launch too (and possibly something else). That's why I'm trying to move this logic out of specific commands.

Now I see that there are too many different usages of SIGTRAP and most of them are architecture-dependent (like `__builtin_trap` which can send SIGTRAP for one processor and SIGILL for another). So, a process cannot know how to distinguish the signal sender's intention. The problem is common to gdb.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67776/new/

https://reviews.llvm.org/D67776





More information about the lldb-commits mailing list