mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-12 01:18:53 +00:00
Remove comments and an extra print statement.
llvm-svn: 156651
This commit is contained in:
parent
8ab86cb344
commit
0021bd2fe3
@ -126,12 +126,10 @@ def dump_stack_history_entry(stack_history_entry, idx):
|
||||
def dump_stack_history_entries(addr, history):
|
||||
# malloc_stack_entry *get_stack_history_for_address (const void * addr)
|
||||
expr = 'get_stack_history_for_address((void *)0x%x, %u)' % (addr, history)
|
||||
print 'expr = "%s"' % (expr)
|
||||
expr_sbvalue = lldb.frame.EvaluateExpression (expr)
|
||||
if expr_sbvalue.error.Success():
|
||||
if expr_sbvalue.unsigned:
|
||||
expr_value = lldb.value(expr_sbvalue)
|
||||
#print 'expr_value = ', expr_value
|
||||
idx = 0;
|
||||
stack_history_entry = expr_value[idx]
|
||||
while int(stack_history_entry.address) != 0:
|
||||
|
Loading…
Reference in New Issue
Block a user