mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08:00
Change "Current" as in GetCurrentThread, GetCurrentStackFrame, etc, to "Selected" i.e. GetSelectedThread. Selected makes more sense, since these are set by some user action (a selection). I didn't change "CurrentProcess" since this is always controlled by the target, and a given target can only have one process, so it really can't be selected.
llvm-svn: 112221
This commit is contained in:
@@ -302,42 +302,6 @@ SBValue::TypeIsPtrType ()
|
||||
return is_ptr_type;
|
||||
}
|
||||
|
||||
|
||||
//lldb_private::ExecutionContext
|
||||
//SBValue::GetCurrentExecutionContext ()
|
||||
//{
|
||||
// lldb_private::Process *process = NULL;
|
||||
// lldb_private::Thread *thread = NULL;
|
||||
// lldb_private::StackFrame *frame = NULL;
|
||||
//
|
||||
// SBTarget sb_target = SBDebugger::GetCurrentTarget();
|
||||
// if (sb_target.IsValid())
|
||||
// {
|
||||
// SBProcess sb_process = sb_target.GetProcess();
|
||||
// if (sb_process.IsValid())
|
||||
// {
|
||||
// process = sb_process.get();
|
||||
// SBThread sb_thread = sb_process.GetCurrentThread();
|
||||
// if (sb_thread.IsValid())
|
||||
// {
|
||||
// thread = sb_thread.GetLLDBObjectPtr();
|
||||
// frame = thread->GetStackFrameAtIndex(0).get();
|
||||
// lldb_private::ExecutionContext exe_context (process, thread, frame);
|
||||
// return exe_context;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// lldb_private::ExecutionContext exe_context (process, NULL, NULL);
|
||||
// return exe_context;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// lldb_private::ExecutionContext exe_context (NULL, NULL, NULL);
|
||||
// return exe_context;
|
||||
//}
|
||||
//
|
||||
//
|
||||
void *
|
||||
SBValue::GetOpaqueType()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user