llvm-project/lldb/source/API
Greg Clayton e996fd30be LLDB now has "Platform" plug-ins. Platform plug-ins are plug-ins that provide
an interface to a local or remote debugging platform. By default each host OS
that supports LLDB should be registering a "default" platform that will be
used unless a new platform is selected. Platforms are responsible for things
such as:
- getting process information by name or by processs ID
- finding platform files. This is useful for remote debugging where there is 
  an SDK with files that might already or need to be cached for debug access.
- getting a list of platform supported architectures in the exact order they
  should be selected. This helps the native x86 platform on MacOSX select the
  correct x86_64/i386 slice from universal binaries.
- Connect to remote platforms for remote debugging
- Resolving an executable including finding an executable inside platform
  specific bundles (macosx uses .app bundles that contain files) and also
  selecting the appropriate slice of universal files for a given platform.

So by default there is always a local platform, but remote platforms can be
connected to. I will soon be adding a new "platform" command that will support
the following commands:
(lldb) platform connect --name machine1 macosx connect://host:port
Connected to "machine1" platform.
(lldb) platform disconnect macosx

This allows LLDB to be well setup to do remote debugging and also once 
connected process listing and finding for things like:
(lldb) process attach --name x<TAB>

The currently selected platform plug-in can now auto complete any available
processes that start with "x". The responsibilities for the platform plug-in
will soon grow and expand.

llvm-svn: 127286
2011-03-08 22:40:15 +00:00
..
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
SBAddress.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBlock.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBBreakpoint.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBreakpointLocation.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBroadcaster.cpp Added a less than operator that will compare the internal opaque pointer values so SBBroadcaster objects can be contained in ordered containers or sorted. 2010-12-05 23:14:19 +00:00
SBCommandInterpreter.cpp Don't limit StreamTee to just two streams. It now can contain 2011-02-20 02:15:07 +00:00
SBCommandReturnObject.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
SBCommunication.cpp More reverting of the EOF stuff as the API was changed which we don't want to 2010-12-04 02:39:47 +00:00
SBCompileUnit.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBDebugger.cpp LLDB now has "Platform" plug-ins. Platform plug-ins are plug-ins that provide 2011-03-08 22:40:15 +00:00
SBError.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBEvent.cpp Fixed a crasher when trying to get event data flavors on events that don't 2010-12-05 19:21:02 +00:00
SBFileSpec.cpp Moved FileSpec into the Host layer since it will vary from host to host. 2011-02-08 05:05:52 +00:00
SBFrame.cpp Added support for stepping out of a frame. If you have 10 stack frames, and you 2011-01-21 06:11:58 +00:00
SBFunction.cpp Export the ability to get the start and end addresses for functions 2011-03-02 23:01:18 +00:00
SBHostOS.cpp Moved FileSpec into the Host layer since it will vary from host to host. 2011-02-08 05:05:52 +00:00
SBInputReader.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBInstruction.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
SBInstructionList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBLineEntry.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBListener.cpp Added a SBListener parameter to Launch and attach calls to avoid a race 2011-02-03 21:28:34 +00:00
SBModule.cpp Added symbol table access through the module for now. We might need to expose 2010-12-07 05:40:31 +00:00
SBProcess.cpp Add a test case ProcessAPITestCase.test_remote_launch() which tests SBProcess.RemoteLaunch() 2011-03-05 01:20:11 +00:00
SBSourceManager.cpp Add test_display_source_python() test case to TestSourceManager.py which uses 2010-12-11 01:20:39 +00:00
SBStream.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
SBStringList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBSymbol.cpp Export the ability to get the start and end addresses for functions 2011-03-02 23:01:18 +00:00
SBSymbolContext.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBSymbolContextList.cpp Added some missing API for address resolving within a module, and looking 2010-09-10 18:31:35 +00:00
SBTarget.cpp Expose ConnectRemote API through SBTarget and SBProcess. 2011-03-04 00:31:13 +00:00
SBThread.cpp Added support for stepping out of a frame. If you have 10 stack frames, and you 2011-01-21 06:11:58 +00:00
SBType.cpp Fixed up the SBValue::GetExpressionPath() to be more correct under more 2011-01-21 01:59:00 +00:00
SBValue.cpp A few of the issue I have been trying to track down and fix have been due to 2011-01-17 03:46:26 +00:00
SBValueList.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00