Very minimal support 24-bit kalimbas. Vanilla "memory read" for data sections
works, as do breakpoints, run and pause, display zeroth frame. See http://reviews.llvm.org/D5503 for a fuller description of the changes in this commit. llvm-svn: 218596
This commit is contained in:
@@ -458,6 +458,9 @@ ObjectFile::CopyData (lldb::offset_t offset, size_t length, void *dst) const
|
||||
size_t
|
||||
ObjectFile::ReadSectionData (const Section *section, lldb::offset_t section_offset, void *dst, size_t dst_len) const
|
||||
{
|
||||
assert(section);
|
||||
section_offset *= section->GetTargetByteSize();
|
||||
|
||||
// If some other objectfile owns this data, pass this to them.
|
||||
if (section->GetObjectFile() != this)
|
||||
return section->GetObjectFile()->ReadSectionData (section, section_offset, dst, dst_len);
|
||||
|
||||
Reference in New Issue
Block a user