[Lldb-commits] [lldb] r111378 - /lldb/trunk/include/lldb/Target/RegisterContext.h
Greg Clayton
gclayton at apple.com
Wed Aug 18 11:25:47 PDT 2010
Author: gclayton
Date: Wed Aug 18 13:25:47 2010
New Revision: 111378
URL: http://llvm.org/viewvc/llvm-project?rev=111378&view=rev
Log:
Added a Thread accessor to the register context.
Modified:
lldb/trunk/include/lldb/Target/RegisterContext.h
Modified: lldb/trunk/include/lldb/Target/RegisterContext.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/RegisterContext.h?rev=111378&r1=111377&r2=111378&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/RegisterContext.h (original)
+++ lldb/trunk/include/lldb/Target/RegisterContext.h Wed Aug 18 13:25:47 2010
@@ -100,6 +100,12 @@
lldb::tid_t
GetThreadID() const;
+ Thread &
+ GetThread ()
+ {
+ return m_thread;
+ }
+
const lldb::RegisterInfo *
GetRegisterInfoByName (const char *reg_name, uint32_t start_idx = 0);
More information about the lldb-commits
mailing list