diff options
author | Ed Maste <emaste@freebsd.org> | 2017-08-10 13:47:17 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2017-08-10 13:47:17 +0000 |
commit | 5e82ca353df1ce08974ab7cd5a9c29b0e742bb7a (patch) | |
tree | 2b6a2516521042ee116474a83b709b29cba71f3c /lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h | |
parent | fa66a340eb750bc72a813d92d6c6898c091c07cb (diff) | |
download | bcm5719-llvm-5e82ca353df1ce08974ab7cd5a9c29b0e742bb7a.tar.gz bcm5719-llvm-5e82ca353df1ce08974ab7cd5a9c29b0e742bb7a.zip |
Report inferior signals as signals, not exceptions, on FreeBSD
This is the FreeBSD equivalent of r238549.
This serves 2 purposes:
* LLDB should handle inferior process signals SIGSEGV/SIGILL/SIGBUS/
SIGFPE the way it is suppose to be handled. Prior to this fix these
signals will neither create a coredump, nor exit from the debugger
or work for signal handling scenario.
* eInvalidCrashReason need not report "unknown crash reason" if we have
a valid si_signo
llvm.org/pr23699
Patch by Karnajit Wangkhem
Differential Revision: https://reviews.llvm.org/D35223
llvm-svn: 310591
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h')
-rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h b/lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h index e51fc08d74c..96861852b38 100644 --- a/lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h +++ b/lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.h @@ -45,19 +45,6 @@ public: }; //===----------------------------------------------------------------------===// -/// @class POSIXCrashStopInfo -/// @brief Represents the stop state of process that is ready to crash. -/// -class POSIXCrashStopInfo : public POSIXStopInfo { -public: - POSIXCrashStopInfo(FreeBSDThread &thread, uint32_t status, CrashReason reason, - lldb::addr_t fault_addr); - ~POSIXCrashStopInfo(); - - lldb::StopReason GetStopReason() const; -}; - -//===----------------------------------------------------------------------===// /// @class POSIXNewThreadStopInfo /// @brief Represents the stop state of process when a new thread is spawned. /// |