Added the ability to disassembly "count" instructions given a SBAddress.
This was done in SBTarget:
lldb::SBInstructionList
lldb::SBTarget::ReadInstructions (lldb::SBAddress base_addr, uint32_t count);
Also cleaned up a few files in the LLDB.framework settings.
llvm-svn: 152152
diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp
index 2be02f9..1ab77bb 100644
--- a/lldb/source/Core/Disassembler.cpp
+++ b/lldb/source/Core/Disassembler.cpp
@@ -240,7 +240,8 @@
const char *plugin_name,
const Address &start,
const void *bytes,
- size_t length
+ size_t length,
+ uint32_t num_instructions
)
{
lldb::DisassemblerSP disasm_sp;
@@ -256,7 +257,7 @@
(void)disasm_sp->DecodeInstructions (start,
data,
0,
- UINT32_MAX,
+ num_instructions,
false);
}
}