[Bug 23699] New: Report inferior SIGSEGV as a signal instead of an exception on FreeBSD

Bug ID 23699
Summary Report inferior SIGSEGV as a signal instead of an exception on FreeBSD
Product lldb
Version unspecified
Hardware PC
OS FreeBSD
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter emaste@freebsd.org
Classification Unclassified

See [http://reviews.llvm.org/D10057](https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10057&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=JjYgkmH6wckYJGnbts9au0rZIDtp_Ss_-oUdWFRBFsw&s=zkQ_TgbNHuB1HuQa-JY4ICOCQXeSYEe9K4ds1N8heEo&e=) - we need an equivalent change for FreeBSD

Previously, we reported inferior receiving SIGSEGV (or SIGILL, SIGFPE, SIGBUS)
as an "exception" to LLDB, presumably to match OSX behaviour. Beside the fact
that we were basically lying to the user, this was also causing problems with
inferiors which handle SIGSEGV by themselves, since LLDB was unable to reinject
this signal back into the inferior.