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
This commit is contained in:
Jim Ingham
2011-03-22 01:48:42 +00:00
parent 381e25b793
commit 37023b06bd
10 changed files with 479 additions and 171 deletions

View File

@@ -260,6 +260,7 @@ StackFrame::Disassemble ()
target.GetArchitecture(),
exe_ctx,
0,
0,
false,
false,
m_disassembly);