From 8ee76a8d4bc70282a00eb456d70adbcef2f02c38 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 27 May 2010 18:39:56 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159941 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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