Enhance debug information.
Christopher Li
maintainerPATCH 1/1 Enhance debug information.
I found it very useful for debug_symbol() to show the builtin type name. I add "int_type" and "fp_type" to the list as well.
Signed-off-by Christopher Li <[email protected]>
symbol.h +2 -0
@@ -239,6 +239,8 @@ extern void bind_symbol(struct symbol *,extern struct symbol *examine_symbol_type (struct symbol *);extern void examine_simple_symbol_type (struct symbol *);extern const char *show_typename (struct symbol *sym); +extern const char *builtin_typename (struct symbol *sym); +extern const char *builtin_ctypename (struct ctype *ctype);extern void debug_symbol (struct symbol *);extern void merge_type (struct symbol *sym,struct symbol *base_type);
show-parse.c +67 -45
138 lines not on this page · raw message