aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SBTarget.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-08-26 21:32:51 +0000
committerJim Ingham <jingham@apple.com>2010-08-26 21:32:51 +0000
commit2976d00adbfb7c0c5612b86272bdcf1866ad7eab (patch)
tree0664fe0db5dadf60c083d282320e19d9332e4886 /lldb/source/API/SBTarget.cpp
parent17da935964094e95862546d8373c287914c6272f (diff)
downloadllvm-2976d00adbfb7c0c5612b86272bdcf1866ad7eab.tar.gz
llvm-2976d00adbfb7c0c5612b86272bdcf1866ad7eab.tar.bz2
llvm-2976d00adbfb7c0c5612b86272bdcf1866ad7eab.zip
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
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
-rw-r--r--lldb/source/API/SBTarget.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index b12a5ae7ade3..c863bc779b6b 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -167,17 +167,6 @@ SBTarget::DeleteTargetFromList (TargetList *list)
}
bool
-SBTarget::MakeCurrentTarget ()
-{
- if (m_opaque_sp)
- {
- m_opaque_sp->GetDebugger().GetTargetList().SetCurrentTarget (m_opaque_sp.get());
- return true;
- }
- return false;
-}
-
-bool
SBTarget::operator == (const SBTarget &rhs) const
{
return m_opaque_sp.get() == rhs.m_opaque_sp.get();