summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/symbolicate-crash.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/python/symbolicate-crash.py')
-rwxr-xr-xlldb/examples/python/symbolicate-crash.py10
1 files changed, 5 insertions, 5 deletions
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:
OpenPOWER on IntegriCloud