summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBStream.cpp
Commit message (Collapse)AuthorAgeFilesLines
* *** This commit represents a complete reformatting of the LLDB source codeKate Stone2016-09-061-158/+113
| | | | | | | | | | | | | | | | | | | | | | | *** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications: Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ; The version of clang-format used was 3.9.0, and autopep8 was 1.2.4. Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV. llvm-svn: 280751
* First pass at LLDBRPC.frameworkGreg Clayton2015-12-151-0/+7
| | | | llvm-svn: 255697
* 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