diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-27 18:39:56 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-27 18:39:56 +0000 |
commit | 8ee76a8d4bc70282a00eb456d70adbcef2f02c38 (patch) | |
tree | 68bf32ee537f2e31766ddc4d8d716ea60c1f5c50 /gcc/gdbinit.in | |
parent | 098ab36a5a324a27b0826960a0291748afdfa5dc (diff) | |
download | gcc-8ee76a8d4bc70282a00eb456d70adbcef2f02c38.tar.gz |
* 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
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 \ ( |