[Lldb-commits] [PATCH] D12795: Switch default disposition of realtime signals

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 11 02:05:40 PDT 2015


labath created this revision.
labath added reviewers: ovyalov, emaste.
labath added a subscriber: lldb-commits.
Herald added a subscriber: emaste.

Realtime signals generally do not represent an error condition in an application but are more
like a regular means of IPC. As such, we shouldn't interrupt an application whenever it recieves
one. If any application will use these signals, it will probably use them a lot, rendering it's
debugging tiresome if we stopped at every signal. Furthermore, these signals are likely to be used
in a low level library, and the programmer may not even be aware of their presence.

For these reasons, I am switching the default disposition of realtime signals on all supported
platforms (i.e. Linux and Freebsd) to no-stop, no-notify. Any user still wishing to receive these
signals can always change the default to suit his needs.

http://reviews.llvm.org/D12795

Files:
  source/Plugins/Process/Utility/FreeBSDSignals.cpp
  source/Plugins/Process/Utility/LinuxSignals.cpp
  source/Plugins/Process/Utility/MipsLinuxSignals.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12795.34534.patch
Type: text/x-patch
Size: 26948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150911/e195be8b/attachment-0001.bin>


More information about the lldb-commits mailing list