[Lldb-commits] [Bug 11619] New: Allow creating SBData values from arrays or primitives in Python
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Dec 19 13:25:08 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=11619
Bug #: 11619
Summary: Allow creating SBData values from arrays or primitives
in Python
Product: lldb
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
AssignedTo: lldb-commits at cs.uiuc.edu
ReportedBy: nathanhowell at hotmail.com
Classification: Unclassified
I'd like to create string literals or other values that do not exist within the
inferior process, perhaps like this:
char_ptr_type = type.GetBasicType(lldb.eBasicTypeChar).GetPointerType()
data = target.GetDataFromCString('some string literal')
value = obj.CreateValueFromData('name', data, char_ptr_type)
The idea would be to allow a SyntheticChildrenProvider to fashion a new value
that better represents the original child value being inspected.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the lldb-commits
mailing list