summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
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/Expression/ClangExpressionParser.cpp
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/Expression/ClangExpressionParser.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp
index 68301981576..e228cc5e080 100644
--- a/lldb/source/Expression/ClangExpressionParser.cpp
+++ b/lldb/source/Expression/ClangExpressionParser.cpp
@@ -739,7 +739,7 @@ ClangExpressionParser::DisassembleFunction (Stream &stream, ExecutionContext &ex
DataExtractor::TypeUInt8);
}
- disassembler->DecodeInstructions (Address (NULL, func_remote_addr), extractor, 0, UINT32_MAX);
+ disassembler->DecodeInstructions (Address (NULL, func_remote_addr), extractor, 0, UINT32_MAX, false);
InstructionList &instruction_list = disassembler->GetInstructionList();
OpenPOWER on IntegriCloud