diff options
author | Jim Ingham <jingham@apple.com> | 2010-08-26 21:32:51 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-08-26 21:32:51 +0000 |
commit | c833295baeec641086f536e78050388af36784f8 (patch) | |
tree | de5f0b757879423aac6c2c4d54ca8d71ee82d1eb /include/lldb/Target/TargetList.h | |
parent | 2154da49d2db0b478d54c077d2b3825380a24f4c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/Target/TargetList.h')
-rw-r--r-- | include/lldb/Target/TargetList.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/lldb/Target/TargetList.h b/include/lldb/Target/TargetList.h index 699be839d..84e8b6498 100644 --- a/include/lldb/Target/TargetList.h +++ b/include/lldb/Target/TargetList.h @@ -181,13 +181,13 @@ public: SignalIfRunning (lldb::pid_t pid, int signo); uint32_t - SetCurrentTarget (Target *target); + SetSelectedTarget (Target *target); void - SetCurrentTargetWithIndex (uint32_t idx); + SetSelectedTargetWithIndex (uint32_t idx); lldb::TargetSP - GetCurrentTarget (); + GetSelectedTarget (); protected: @@ -197,7 +197,7 @@ protected: //------------------------------------------------------------------ collection m_target_list; mutable Mutex m_target_list_mutex; - uint32_t m_current_target_idx; + uint32_t m_selected_target_idx; private: DISALLOW_COPY_AND_ASSIGN (TargetList); }; |