This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there a recursive debug_c_tree which decodes "variant tag"?


Larry Evans <cppljevans@suddenlink.net> writes:

> While attempting to debug the compiler on:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40092
>
> I'm having great difficulty understanding the output
> of debug_c_tree or debug_tree because the child
> tree's are not shown.

Can you give an example of what you mean?  debug_tree does show child
trees as I understand it, although at each level down it shows less
information.  If you want more information about a particular child,
then you can see the address in the shortened information, and you can
call debug_tree on that address.

> Is there any such debug_tree function usable in
> gdb or ddd which will show the actual tree
> variant?

Here again I don't understand what you mean.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]