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/tree.h | |
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/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 5f0098c481f..5acadb499cb 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -5120,9 +5120,11 @@ extern void print_rtl (FILE *, const_rtx); /* In print-tree.c */ extern void debug_tree (tree); +extern void debug_vec_tree (VEC(tree,gc) *); #ifdef BUFSIZ extern void dump_addr (FILE*, const char *, const void *); extern void print_node (FILE *, const char *, tree, int); +extern void print_vec_tree (FILE *, const char *, VEC(tree,gc) *, int); extern void print_node_brief (FILE *, const char *, const_tree, int); extern void indent_to (FILE *, int); #endif |