diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index eb76753..769f01d 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -605,7 +605,7 @@ void CommandObjectExpression::DoExecute(llvm::StringRef command, return; if (m_repl_option.GetOptionValue().GetCurrentValue()) { - Target &target = GetSelectedOrDummyTarget(); + Target &target = GetTarget(); // Drop into REPL m_expr_lines.clear(); m_expr_line_count = 0; @@ -665,7 +665,7 @@ void CommandObjectExpression::DoExecute(llvm::StringRef command, } } - Target &target = GetSelectedOrDummyTarget(); + Target &target = GetTarget(); if (EvaluateExpression(expr, result.GetOutputStream(), result.GetErrorStream(), result)) { |