Index: include/lldb/Target/Platform.h
===================================================================
--- include/lldb/Target/Platform.h	(revision 137261)
+++ include/lldb/Target/Platform.h	(working copy)
@@ -110,6 +110,15 @@
                            const ArchSpec &arch,
                            lldb::ModuleSP &module_sp);
 
+        //------------------------------------------------------------------
+        /// Resolves the FileSpec to a (possibly) remote path. Remote
+        /// platforms must override this to resolve to a path on the remote
+        /// side.
+        //------------------------------------------------------------------
+        virtual bool
+        ResolveRemotePath (const FileSpec &platform_path,
+                           FileSpec &resolved_platform_path);
+
         bool
         GetOSVersion (uint32_t &major, 
                       uint32_t &minor, 
Index: source/Target/Platform.cpp
===================================================================
--- source/Target/Platform.cpp	(revision 137261)
+++ source/Target/Platform.cpp	(working copy)
@@ -451,7 +451,15 @@
     return error;
 }
 
+bool
+Platform::ResolveRemotePath (const FileSpec &platform_path,
+                             FileSpec &resolved_platform_path)
+{
+    resolved_platform_path = platform_path;
+    return resolved_platform_path.ResolvePath();
+}
 
+
 const ArchSpec &
 Platform::GetSystemArchitecture()
 {
Index: source/Commands/CommandObjectProcess.cpp
===================================================================
--- source/Commands/CommandObjectProcess.cpp	(revision 137261)
+++ source/Commands/CommandObjectProcess.cpp	(working copy)
@@ -1172,6 +1172,7 @@
             Error error;
             const char *image_path = command.GetArgumentAtIndex(i);
             FileSpec image_spec (image_path, false);
+            process->GetTarget().GetPlatform()->ResolveRemotePath(image_spec, image_spec);
             uint32_t image_token = process->LoadImage(image_spec, error);
             if (image_token != LLDB_INVALID_IMAGE_TOKEN)
             {
