disassemble with no arguments disassembles at the pc. Also got "disassemble -f" to work, that had gotten broken at some point in the past.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138929 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectDisassemble.h b/source/Commands/CommandObjectDisassemble.h
index 2182810..44f5705 100644
--- a/source/Commands/CommandObjectDisassemble.h
+++ b/source/Commands/CommandObjectDisassemble.h
@@ -52,6 +52,8 @@
return plugin_name.c_str();
}
+ virtual Error
+ OptionParsingFinished ();
bool show_mixed; // Show mixed source/assembly
bool show_bytes;
@@ -59,12 +61,15 @@
uint32_t num_instructions;
bool raw;
std::string func_name;
+ bool cur_function;
lldb::addr_t start_addr;
lldb::addr_t end_addr;
bool at_pc;
bool frame_line;
std::string plugin_name;
ArchSpec arch;
+ bool some_location_specified; // If no location was specified, we'll select "at_pc". This should be set
+ // in SetOptionValue if anything the selects a location is set.
static OptionDefinition g_option_table[];
};