This patch fixes the disassembly issue raised by Ananth. Earlier, we were calling the the SBProcess::ReadMemory() method of the process to read the content of memory addresses. With this fix, we call the Target::ReadMemory(), which in turn will call the SBProcess::ReadMemory(), and will invoke code to read from the text section if this does not return the expected number of bytes in the buffer..
Description
This patch fixes the disassembly issue raised by Ananth. Earlier, we were calling the the SBProcess::ReadMemory() method of the process to read the content of memory addresses. With this fix, we call the Target::ReadMemory(), which in turn will call the SBProcess::ReadMemory(), and will invoke code to read from the text section if this does not return the expected number of bytes in the buffer..
Type of Change
Checklist