Added the ability to get all section contents, or the section
contents starting at an offset (2 separate methods). This helps
the scripting interface stay more natural by allowing both from
Python.
Added the ability to dump data with address annotations when
call SBData::GetDescription().
Hooked up the SBSection to the __repr__ so you can print section
objects from within python.
Improved the dumping of symbols from python.
Fixed the .i interface references which were set to "Relative to this Group"
which somehow included Jim's "lldb-clean" root directory in the path. The
interfaces are now in a folder called "interfaces" withing the Xcode API
subfolder.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140451 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBData.i b/scripts/Python/interface/SBData.i
index 4e87e6e..5ecf2c2 100644
--- a/scripts/Python/interface/SBData.i
+++ b/scripts/Python/interface/SBData.i
@@ -75,7 +75,7 @@
GetString (lldb::SBError& error, uint32_t offset);
bool
- GetDescription (lldb::SBStream &description);
+ GetDescription (lldb::SBStream &description, lldb::addr_t base_addr);
size_t
ReadRawData (lldb::SBError& error,
diff --git a/scripts/Python/interface/SBSection.i b/scripts/Python/interface/SBSection.i
index 990a705..38af7a1 100644
--- a/scripts/Python/interface/SBSection.i
+++ b/scripts/Python/interface/SBSection.i
@@ -54,6 +54,9 @@
GetFileByteSize ();
lldb::SBData
+ GetSectionData ();
+
+ lldb::SBData
GetSectionData (uint64_t offset,
uint64_t size);