summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index bbbca5e921f..3e13af0fd29 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -3991,13 +3991,7 @@ public:
CommandReturnObject &result)
{
Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get();
- if (target)
- {
- bool notify = true;
- target->GetImageSearchPathList().Clear(notify);
- result.SetStatus (eReturnStatusSuccessFinishNoResult);
- }
- else
+ if (!target)
{
result.AppendError ("invalid target\n");
result.SetStatus (eReturnStatusFailed);
OpenPOWER on IntegriCloud