diff options
author | Jason Merrill <jason@redhat.com> | 2010-05-27 14:39:56 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-05-27 14:39:56 -0400 |
commit | b042534cd86b042e1d4e4d5588f5c90f0370a0aa (patch) | |
tree | 68bf32ee537f2e31766ddc4d8d716ea60c1f5c50 /gcc/gdbinit.in | |
parent | fb9c3174c9771bd3dd658dd25205f1d1486778f7 (diff) | |
download | gcc-b042534cd86b042e1d4e4d5588f5c90f0370a0aa.zip gcc-b042534cd86b042e1d4e4d5588f5c90f0370a0aa.tar.gz gcc-b042534cd86b042e1d4e4d5588f5c90f0370a0aa.tar.bz2 |
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
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 22c99a7..e2375b2 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 \ ( |