summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectDisassemble.h
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-03-22 01:48:42 +0000
committerJim Ingham <jingham@apple.com>2011-03-22 01:48:42 +0000
commit37023b06bd64f8a497bcedb6401e003bb124d7fc (patch)
treece9005f3bfd126afd4c2afe57dbc19e927bc0bee /lldb/source/Commands/CommandObjectDisassemble.h
parent381e25b793e65ff4cb50dc5624e259ab7fe15683 (diff)
downloadbcm5719-llvm-37023b06bd64f8a497bcedb6401e003bb124d7fc.tar.gz
bcm5719-llvm-37023b06bd64f8a497bcedb6401e003bb124d7fc.zip
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectDisassemble.h')
-rw-r--r--lldb/source/Commands/CommandObjectDisassemble.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectDisassemble.h b/lldb/source/Commands/CommandObjectDisassemble.h
index 9b0e0ab2afe..a36ae88cb15 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.h
+++ b/lldb/source/Commands/CommandObjectDisassemble.h
@@ -47,10 +47,12 @@ public:
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[];
};
OpenPOWER on IntegriCloud