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 | 2976d00adbfb7c0c5612b86272bdcf1866ad7eab (patch) | |
tree | 0664fe0db5dadf60c083d282320e19d9332e4886 /lldb/source/Commands/CommandObjectArgs.cpp | |
parent | 17da935964094e95862546d8373c287914c6272f (diff) | |
download | bcm5719-llvm-2976d00adbfb7c0c5612b86272bdcf1866ad7eab.tar.gz bcm5719-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/Commands/CommandObjectArgs.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectArgs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp index 604489804c6..0c8b8b6d270 100644 --- a/lldb/source/Commands/CommandObjectArgs.cpp +++ b/lldb/source/Commands/CommandObjectArgs.cpp @@ -140,7 +140,7 @@ CommandObjectArgs::Execute return false; } - lldb::StackFrameSP thread_cur_frame = thread->GetCurrentFrame (); + lldb::StackFrameSP thread_cur_frame = thread->GetSelectedFrame (); if (!thread_cur_frame) { result.AppendError ("The current thread has no current frame."); |