summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host')
-rw-r--r--lldb/source/Host/common/NativeThreadProtocol.cpp22
-rw-r--r--lldb/source/Host/common/NativeThreadProtocol.h5
2 files changed, 1 insertions, 26 deletions
diff --git a/lldb/source/Host/common/NativeThreadProtocol.cpp b/lldb/source/Host/common/NativeThreadProtocol.cpp
index 6cef5b1fa2d..91d00200906 100644
--- a/lldb/source/Host/common/NativeThreadProtocol.cpp
+++ b/lldb/source/Host/common/NativeThreadProtocol.cpp
@@ -73,25 +73,3 @@ NativeThreadProtocol::GetProcess ()
{
return m_process_wp.lock ();
}
-
-uint32_t
-NativeThreadProtocol::TranslateStopInfoToGdbSignal (const ThreadStopInfo &stop_info) const
-{
- // Default: no translation. Do the real translation where there
- // is access to the host signal numbers.
- switch (stop_info.reason)
- {
- case eStopReasonSignal:
- return stop_info.details.signal.signo;
- break;
-
- case eStopReasonException:
- // FIXME verify the way to specify pass-thru here.
- return static_cast<uint32_t> (stop_info.details.exception.type);
- break;
-
- default:
- assert (0 && "unexpected stop_info.reason found");
- return 0;
- }
-}
diff --git a/lldb/source/Host/common/NativeThreadProtocol.h b/lldb/source/Host/common/NativeThreadProtocol.h
index 15ecffe8b82..954ffb36a94 100644
--- a/lldb/source/Host/common/NativeThreadProtocol.h
+++ b/lldb/source/Host/common/NativeThreadProtocol.h
@@ -53,10 +53,7 @@ namespace lldb_private
RestoreAllRegisters (lldb::DataBufferSP &data_sp);
virtual bool
- GetStopReason (ThreadStopInfo &stop_info) = 0;
-
- virtual uint32_t
- TranslateStopInfoToGdbSignal (const ThreadStopInfo &stop_info) const;
+ GetStopReason (ThreadStopInfo &stop_info, std::string& description) = 0;
lldb::tid_t
GetID() const
OpenPOWER on IntegriCloud