From b042534cd86b042e1d4e4d5588f5c90f0370a0aa Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 27 May 2010 14:39:56 -0400 Subject: print-tree.c (debug_vec_tree): New fn. * print-tree.c (debug_vec_tree): New fn. (print_vec_tree): New fn. * tree.h: Declare them. * gdbinit.in (ptv): New command. * print-tree.c (print_node) [TREE_VEC]: Print elements normally. * gdbinit.in (pdd): New command. From-SVN: r159941 --- gcc/gdbinit.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gcc/gdbinit.in') diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index 22c99a776b8..e2375b280c8 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -122,6 +122,22 @@ document ptn Print the name of the type-node that is $. end +define pvt +set debug_vec_tree ($) +end + +document pvt +Print the VEC(tree) that is in $. +end + +define pdd +set debug_dwarf_die ($) +end + +document pdd +Print the dw_die_ref that is in $. +end + define prc output (enum rtx_code) $.code echo \ ( -- cgit v1.2.1