diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectImage.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectImage.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectImage.cpp b/lldb/source/Commands/CommandObjectImage.cpp index c9a22543a6f..d28cbf9dd69 100644 --- a/lldb/source/Commands/CommandObjectImage.cpp +++ b/lldb/source/Commands/CommandObjectImage.cpp @@ -579,7 +579,7 @@ public: Args& command, CommandReturnObject &result) { - Target *target = interpreter.GetDebugger().GetCurrentTarget().get(); + Target *target = interpreter.GetDebugger().GetSelectedTarget().get(); if (target == NULL) { result.AppendError ("invalid target, set executable file using 'file' command"); @@ -687,7 +687,7 @@ public: Args& command, CommandReturnObject &result) { - Target *target = interpreter.GetDebugger().GetCurrentTarget().get(); + Target *target = interpreter.GetDebugger().GetSelectedTarget().get(); if (target == NULL) { result.AppendError ("invalid target, set executable file using 'file' command"); @@ -794,7 +794,7 @@ public: Args& command, CommandReturnObject &result) { - Target *target = interpreter.GetDebugger().GetCurrentTarget().get(); + Target *target = interpreter.GetDebugger().GetSelectedTarget().get(); if (target == NULL) { result.AppendError ("invalid target, set executable file using 'file' command"); @@ -901,7 +901,7 @@ public: Args& command, CommandReturnObject &result) { - Target *target = interpreter.GetDebugger().GetCurrentTarget().get(); + Target *target = interpreter.GetDebugger().GetSelectedTarget().get(); if (target == NULL) { result.AppendError ("invalid target, set executable file using 'file' command"); @@ -1070,7 +1070,7 @@ public: Args& command, CommandReturnObject &result) { - Target *target = interpreter.GetDebugger().GetCurrentTarget().get(); + Target *target = interpreter.GetDebugger().GetSelectedTarget().get(); if (target == NULL) { result.AppendError ("invalid target, set executable file using 'file' command"); @@ -1438,7 +1438,7 @@ public: Args& command, CommandReturnObject &result) { - Target *target = interpreter.GetDebugger().GetCurrentTarget().get(); + Target *target = interpreter.GetDebugger().GetSelectedTarget().get(); if (target == NULL) { result.AppendError ("invalid target, set executable file using 'file' command"); |