[debug][bindings][python] drop struct modificator
This commit is contained in:
committed by
Stanislav Erokhin
parent
f624800b84
commit
ec70bbf5c7
@@ -41,7 +41,7 @@ def exelog(stmt):
|
|||||||
|
|
||||||
def lldb_val_to_ptr(lldb_val):
|
def lldb_val_to_ptr(lldb_val):
|
||||||
addr = lldb_val.GetValueAsUnsigned()
|
addr = lldb_val.GetValueAsUnsigned()
|
||||||
return '((struct ObjHeader *) {:#x})'.format(addr)
|
return '((ObjHeader *) {:#x})'.format(addr)
|
||||||
|
|
||||||
|
|
||||||
def evaluate(expr):
|
def evaluate(expr):
|
||||||
@@ -473,7 +473,7 @@ def __lldb_init_module(debugger, _):
|
|||||||
--no-value \
|
--no-value \
|
||||||
--expand \
|
--expand \
|
||||||
--python-function konan_lldb.kotlin_object_type_summary \
|
--python-function konan_lldb.kotlin_object_type_summary \
|
||||||
"struct ObjHeader *" \
|
"ObjHeader *" \
|
||||||
--category Kotlin\
|
--category Kotlin\
|
||||||
')
|
')
|
||||||
debugger.HandleCommand('\
|
debugger.HandleCommand('\
|
||||||
|
|||||||
Reference in New Issue
Block a user