summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBStream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add null pointer checks to some SBStream functions.Zachary Turner2015-01-141-0/+6
| | | | llvm-svn: 226016
* (no commit message)Greg Clayton2014-07-301-0/+2
| | | | llvm-svn: 214319
* Expose SBPlatform through the public API.Greg Clayton2013-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example code: remote_platform = lldb.SBPlatform("remote-macosx"); remote_platform.SetWorkingDirectory("/private/tmp") debugger.SetSelectedPlatform(remote_platform) connect_options = lldb.SBPlatformConnectOptions("connect://localhost:1111"); err = remote_platform.ConnectRemote(connect_options) if err.Success(): print >> result, 'Connected to remote platform:' print >> result, 'hostname: %s' % (remote_platform.GetHostname()) src = lldb.SBFileSpec("/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework", False) dst = lldb.SBFileSpec() # copy src to platform working directory since "dst" is empty err = remote_platform.Install(src, dst); if err.Success(): print >> result, '%s installed successfully' % (src) else: print >> result, 'error: failed to install "%s": %s' % (src, err) Implemented many calls needed in lldb-platform to be able to install a directory that contains symlinks, file and directories. The remote lldb-platform can now launch GDB servers on the remote system so that remote debugging can be spawned through the remote platform when connected to a remote platform. The API in SBPlatform is subject to change and will be getting many new functions. llvm-svn: 195273
* Return 0 for the size_t return type.Bill Wendling2012-04-031-1/+1
| | | | llvm-svn: 153930
* Work in progress for:Johnny Chen2011-12-201-0/+2
| | | | | | | | | rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBStream APIs. llvm-svn: 146934
* Use Host::File in lldb_private::StreamFile and other places to cleanup hostGreg Clayton2011-02-091-1/+8
| | | | | | layer a bit more. llvm-svn: 125149
* Add test_display_source_python() test case to TestSourceManager.py which usesJohnny Chen2010-12-111-1/+1
| | | | | | | | | | the lldb PyThon API SBSourceManager to display source files. To accomodate this, the C++ SBSourceManager API has been changed to take an lldb::SBStream as the destination for display of source lines. Modify SBStream::ctor() so that its opaque pointer is initialized with an StreamString instance. llvm-svn: 121605
* We now have SBStream that mirrors the generic stream classes we Greg Clayton2010-09-171-0/+178
use inside lldb (lldb_private::StreamFile, and lldb_private::StreamString). llvm-svn: 114188
OpenPOWER on IntegriCloud