Add the ability to disassemble "n" instructions from the current PC, or the first "n" instructions in a function.
Also added a "-p" flag that disassembles from the current pc.
llvm-svn: 128063
diff --git a/lldb/source/Commands/CommandObjectDisassemble.h b/lldb/source/Commands/CommandObjectDisassemble.h
index 9b0e0ab..a36ae88 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.h
+++ b/lldb/source/Commands/CommandObjectDisassemble.h
@@ -47,10 +47,12 @@
bool show_mixed; // Show mixed source/assembly
bool show_bytes;
uint32_t num_lines_context;
+ uint32_t num_instructions;
bool raw;
std::string m_func_name;
lldb::addr_t m_start_addr;
lldb::addr_t m_end_addr;
+ bool m_at_pc;
static lldb::OptionDefinition g_option_table[];
};