diff options
Diffstat (limited to 'lldb/source/Commands/CommandCompletions.cpp')
-rw-r--r-- | lldb/source/Commands/CommandCompletions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandCompletions.cpp b/lldb/source/Commands/CommandCompletions.cpp index 85470164f61..77e9ac8c8f2 100644 --- a/lldb/source/Commands/CommandCompletions.cpp +++ b/lldb/source/Commands/CommandCompletions.cpp @@ -102,7 +102,7 @@ CommandCompletions::SourceFiles if (searcher == NULL) { - lldb::TargetSP target_sp = interpreter.GetDebugger().GetCurrentTarget(); + lldb::TargetSP target_sp = interpreter.GetDebugger().GetSelectedTarget(); SearchFilter null_searcher (target_sp); completer.DoCompletion (&null_searcher); } @@ -368,7 +368,7 @@ CommandCompletions::Modules if (searcher == NULL) { - lldb::TargetSP target_sp = interpreter.GetDebugger().GetCurrentTarget(); + lldb::TargetSP target_sp = interpreter.GetDebugger().GetSelectedTarget(); SearchFilter null_searcher (target_sp); completer.DoCompletion (&null_searcher); } @@ -399,7 +399,7 @@ CommandCompletions::Symbols if (searcher == NULL) { - lldb::TargetSP target_sp = interpreter.GetDebugger().GetCurrentTarget(); + lldb::TargetSP target_sp = interpreter.GetDebugger().GetSelectedTarget(); SearchFilter null_searcher (target_sp); completer.DoCompletion (&null_searcher); } |