-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDB script improvements #17227
base: master
Are you sure you want to change the base?
GDB script improvements #17227
Conversation
Very nice improvements! It would also be nice to have direct pretty printing support of |
…, using a short representation
@iluuu1994 I've added a pretty printer for |
Improve the Python GDB script in the following ways:
IS_INDIRECT
,IS_PTR
,IS_ALIAS_PTR
when printing zvals:ce_flags
field when pretty printing azend_class_entry
zend_class_constant
zend_property_info
pretty printer to pretty print theflags
fieldzend_function
,zend_op_array
, andzend_internal_function
pretty printers:fn_flags
fieldzend_op
pretty printer to pretty print the opcodezend_refcounted_h
pretty printer to pretty print the type_infozend_object
andzend_array
:(This doesn't print members yet, but the
print_ht
commands from.gdbinit
can be used for that)Before:
After: