summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.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/Commands/CommandObjectBreakpointCommand.cpp
parent17da935964094e95862546d8373c287914c6272f (diff)
downloadbcm5719-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/CommandObjectBreakpointCommand.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpointCommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
index a1b973b74ef..765333b912b 100644
--- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -213,7 +213,7 @@ CommandObjectBreakpointCommandAdd::Execute
CommandReturnObject &result
)
{
- Target *target = interpreter.GetDebugger().GetCurrentTarget().get();
+ Target *target = interpreter.GetDebugger().GetSelectedTarget().get();
if (target == NULL)
{
@@ -417,7 +417,7 @@ CommandObjectBreakpointCommandRemove::Execute
CommandReturnObject &result
)
{
- Target *target = interpreter.GetDebugger().GetCurrentTarget().get();
+ Target *target = interpreter.GetDebugger().GetSelectedTarget().get();
if (target == NULL)
{
@@ -503,7 +503,7 @@ CommandObjectBreakpointCommandList::Execute
CommandReturnObject &result
)
{
- Target *target = interpreter.GetDebugger().GetCurrentTarget().get();
+ Target *target = interpreter.GetDebugger().GetSelectedTarget().get();
if (target == NULL)
{
OpenPOWER on IntegriCloud