Re: [lldb-dev] Inquiry about SBFileSpec

2016-04-07 Thread Greg Clayton via lldb-dev
The SBPlatform that you can get from your SBTarget is the way to do this correctly: SBPlatform platform = target.GetPlatform(); SBFileSpec src("/some/remote/path/to/remote/file/file.txt", false); SBFileSpec dst("/tmp/file.txt"); SBError error = platform.Get (src, dst); Then you can plat with "d

[lldb-dev] Inquiry about SBFileSpec

2016-04-07 Thread Ravitheja Addepally via lldb-dev
Hello, The SBFileSpec class of APIs can be used to read files on the local file system right ? I want to know if it can be used for reading files on the remote file system ? or do we need to use some other API ? BR, A Ravi Theja ___ lldb-dev mail