llvm-project/lldb/source/Breakpoint
Greg Clayton ded470d31a Added more platform support. There are now some new commands:
platform status -- gets status information for the selected platform
platform create <platform-name> -- creates a new instance of a remote platform
platform list -- list all available platforms
platform select -- select a platform instance as the current platform (not working yet)

When using "platform create" it will create a remote platform and make it the
selected platform. For instances for iPhone OS debugging on Mac OS X one can 
do:

(lldb) platform create remote-ios --sdk-version=4.0
Remote platform: iOS platform
SDK version: 4.0
SDK path: "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0"
Not connected to a remote device.
(lldb) file ~/Documents/a.out
Current executable set to '~/Documents/a.out' (armv6).
(lldb) image list
[  0] /Volumes/work/gclayton/Documents/devb/attach/a.out
[  1] /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/dyld
[  2] /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/libSystem.B.dylib


Note that this is all happening prior to running _or_ connecting to a remote
platform. Once connected to a remote platform the OS version might change which
means we will need to update our dependecies. Also once we run, we will need
to match up the actualy binaries with the actualy UUID's to files in the
SDK, or download and cache them locally.

This is just the start of the remote platforms, but this modification is the
first iteration in getting the platforms really doing something.

llvm-svn: 127934
2011-03-19 01:12:21 +00:00
..
Breakpoint.cpp Added more platform support. There are now some new commands: 2011-03-19 01:12:21 +00:00
BreakpointID.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
BreakpointIDList.cpp Fix breakpoint id test to work with clang as well as gcc; added a few 2011-02-02 17:48:16 +00:00
BreakpointList.cpp Added needed breakpoint functionality to the public API that includes: 2010-07-23 23:33:17 +00:00
BreakpointLocation.cpp Fixed the BreakpointLocationList to be able to do O(1) lookups on breakpoint 2011-02-05 00:38:04 +00:00
BreakpointLocationCollection.cpp Added the ability to get more information on the SBThread's stop reason 2010-11-18 18:52:36 +00:00
BreakpointLocationList.cpp Added more platform support. There are now some new commands: 2011-03-19 01:12:21 +00:00
BreakpointOptions.cpp Add missing {} so we don't print the Baton address for the brief breakpoint listing. 2011-01-22 00:28:04 +00:00
BreakpointResolver.cpp Check in an initial implementation of the "breakpoint clear" command, whose purpose is clear 2010-10-28 17:27:46 +00:00
BreakpointResolverAddress.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
BreakpointResolverFileLine.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
BreakpointResolverName.cpp Changed the SymbolFile::FindFunction() function calls to only return 2011-01-27 06:44:37 +00:00
BreakpointSite.cpp Added the ability to get more information on the SBThread's stop reason 2010-11-18 18:52:36 +00:00
BreakpointSiteList.cpp Added more platform support. There are now some new commands: 2011-03-19 01:12:21 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
Stoppoint.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
StoppointCallbackContext.cpp Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
StoppointLocation.cpp Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
WatchpointLocation.cpp Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00