diff --git a/lldb/include/lldb/Target/RegisterContext.h b/lldb/include/lldb/Target/RegisterContext.h index 5c646cf600ba..1028b6abfdfd 100644 --- a/lldb/include/lldb/Target/RegisterContext.h +++ b/lldb/include/lldb/Target/RegisterContext.h @@ -100,6 +100,12 @@ public: lldb::tid_t GetThreadID() const; + Thread & + GetThread () + { + return m_thread; + } + const lldb::RegisterInfo * GetRegisterInfoByName (const char *reg_name, uint32_t start_idx = 0);