diff options
author | Jason Merrill <jason@redhat.com> | 2010-05-27 18:39:56 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2010-05-27 18:39:56 +0000 |
commit | 4d7d3d69316a80956502c438ec9d213664b6359c (patch) | |
tree | 68bf32ee537f2e31766ddc4d8d716ea60c1f5c50 /gcc/gdbinit.in | |
parent | 2a9fdddb68554b7c88655a82d0a2085d04e67212 (diff) |
* 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: https://gcc.gnu.org/svn/gcc/trunk@159941 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r-- | gcc/gdbinit.in | 16 |
1 files changed, 16 insertions, 0 deletions
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 \ ( |