llvm-project/lldb
Greg Clayton 0a94b6614a Added a new lldb.SBValue helper module that has two classes:
sbvalue.value (<SBValue>)
sbvalue.variable (<SBValue>)

Initialize both with a lldb.SBValue

sbvalue.value() make all sorts of convenience properties. Type "help(sbvalue.value)" 
in the embedded python interpreter to see what is available.

sbvalue.variable() wraps a lldb.SBValue and allows you to play with your variable just
as you would expect:

pt = sbvalue.variable (lldb.frame.FindVariable("pt"))

print pt.x
print py.y

argv = sbvalue.variable (lldb.frame.FindVariable("argv"))
print argv[0]

Member access and array acccess is all taken care of!

llvm-svn: 149260
2012-01-30 19:32:25 +00:00
..
docs When unwinding from the first frame, try to ask the remote debugserver 2011-12-13 05:39:38 +00:00
examples Added a new lldb.SBValue helper module that has two classes: 2012-01-30 19:32:25 +00:00
include lldb::SBTarget and lldb::SBProcess are now thread hardened. They both still 2012-01-30 09:04:36 +00:00
lib This patch combines common code from Linux and FreeBSD into 2012-01-05 19:17:38 +00:00
lldb.xcodeproj Removed the "lldb-forward-rtti.h" header file as it was designed to contain 2012-01-30 02:53:15 +00:00
lldb.xcworkspace I accidentally committed some changes to the 2011-12-21 21:30:33 +00:00
resources Bumping Xcode project versions for lldb-109 and debugserver-167. 2012-01-28 02:48:10 +00:00
scripts Removed the "lldb-forward-rtti.h" header file as it was designed to contain 2012-01-30 02:53:15 +00:00
source lldb::SBTarget and lldb::SBProcess are now thread hardened. They both still 2012-01-30 09:04:36 +00:00
test Move argument checking/manipulation into the front of the function. 2012-01-25 20:50:21 +00:00
tools Fix shell commands that do code signing. 2012-01-28 04:19:15 +00:00
utils Add a utility script: 2011-11-04 01:05:29 +00:00
www Added some clarifications about when the __lldb_init_module would be called 2012-01-26 05:36:07 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile This patch combines common code from Linux and FreeBSD into 2012-01-05 19:17:38 +00:00