summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectDisassemble.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-06-30 23:03:03 +0000
committerGreg Clayton <gclayton@apple.com>2010-06-30 23:03:03 +0000
commitdda4f7b520827fb1cce38dbef9a00758067df99a (patch)
tree622c1e19dfdda4764cb606030d83e030c22a92e0 /lldb/source/Commands/CommandObjectDisassemble.h
parent56f2e34a6a0810f28fa4d7ab171a9e12415e29a3 (diff)
downloadbcm5719-llvm-dda4f7b520827fb1cce38dbef9a00758067df99a.tar.gz
bcm5719-llvm-dda4f7b520827fb1cce38dbef9a00758067df99a.zip
Centralized all disassembly into static functions in source/Core/Disassembler.cpp.
Added the ability to read memory from the target's object files when we aren't running, so disassembling works before you run! Cleaned up the API to lldb_private::Target::ReadMemory(). Cleaned up the API to the Disassembler to use actual "lldb_private::Address" objects instead of just an "addr_t". This is nice because the Address objects when resolved carry along their section and module which can get us the object file. This allows Target::ReadMemory to be used when we are not running. Added a new lldb_private::Address dump style: DumpStyleDetailedSymbolContext This will show a full breakdown of what an address points to. To see some sample output, execute a "image lookup --address <addr>". Fixed SymbolContext::DumpStopContext(...) to not require a live process in order to be able to print function and symbol offsets. llvm-svn: 107350
Diffstat (limited to 'lldb/source/Commands/CommandObjectDisassemble.h')
-rw-r--r--lldb/source/Commands/CommandObjectDisassemble.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/source/Commands/CommandObjectDisassemble.h b/lldb/source/Commands/CommandObjectDisassemble.h
index 830b102017e..8ea992707f6 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.h
+++ b/lldb/source/Commands/CommandObjectDisassemble.h
@@ -74,18 +74,6 @@ public:
protected:
CommandOptions m_options;
- void
- Disassemble (CommandInterpreter &interpreter,
- CommandReturnObject &result,
- Disassembler *disassembler,
- lldb::addr_t addr,
- lldb::addr_t end_addr);
-
- void
- Disassemble (CommandInterpreter &interpreter,
- CommandReturnObject &result,
- Disassembler *disassembler,
- const SymbolContextList &sc_list);
};
} // namespace lldb_private
OpenPOWER on IntegriCloud