This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA (print-tree): PATCH for printing VEC(tree) in gdb
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 May 2010 10:51:03 -0700
- Subject: Re: RFA (print-tree): PATCH for printing VEC(tree) in gdb
- References: <4BFEA044.3000005@redhat.com>
Jason Merrill wrote:
> * 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.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713