Add pretty print for const_tree.
2019-05-31 Martin Liska <mliska@suse.cz> * gdbhooks.py: Add const_tree to TreePrinter. From-SVN: r271804
This commit is contained in:
parent
d1137c020a
commit
decc53df4e
@ -1,3 +1,7 @@
|
||||
2019-05-31 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* gdbhooks.py: Add const_tree to TreePrinter.
|
||||
|
||||
2019-05-31 Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
|
||||
PR debug/86964
|
||||
|
||||
@ -540,7 +540,7 @@ class GdbPrettyPrinters(gdb.printing.PrettyPrinter):
|
||||
|
||||
def build_pretty_printer():
|
||||
pp = GdbPrettyPrinters('gcc')
|
||||
pp.add_printer_for_types(['tree'],
|
||||
pp.add_printer_for_types(['tree', 'const_tree'],
|
||||
'tree', TreePrinter)
|
||||
pp.add_printer_for_types(['cgraph_node *', 'varpool_node *', 'symtab_node *'],
|
||||
'symtab_node', SymtabNodePrinter)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user