From fb0655ef59f52c81c8998e51477157e7794d7c05 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Tue, 27 Sep 2011 00:58:45 +0000 Subject: Fixed the public and internal disassembler API to be named correctly: const char * SBInstruction::GetMnemonic() const char * SBInstruction::GetOperands() const char * SBInstruction::GetComment() Fixed the symbolicate example script and the internals. llvm-svn: 140591 --- lldb/examples/python/symbolicate-crash.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lldb/examples/python') diff --git a/lldb/examples/python/symbolicate-crash.py b/lldb/examples/python/symbolicate-crash.py index 9e614def6ee..6afd9e1eb9a 100755 --- a/lldb/examples/python/symbolicate-crash.py +++ b/lldb/examples/python/symbolicate-crash.py @@ -236,11 +236,11 @@ def disassemble_instructions (target, instructions, pc, insts_before_pc, insts_a inst_pc = inst.GetAddress().GetLoadAddress(target); if pc == inst_pc: pc_index = inst_idx - opcode_name = inst.GetOpcodeName(target) - mnemonics = inst.GetMnemonics(target) - comment = inst.GetComment(target) - #data = inst.GetData(target) - lines.append ("%#16.16x: %8s %s" % (inst_pc, opcode_name, mnemonics)) + mnemonic = inst.GetMnemonic (target) + operands = inst.GetOperands (target) + comment = inst.GetComment (target) + #data = inst.GetData (target) + lines.append ("%#16.16x: %8s %s" % (inst_pc, mnemonic, operands)) if comment: line_len = len(lines[-1]) if line_len < comment_column: -- cgit v1.2.3